diff options
author | 2018-08-02 14:49:00 -0700 | |
---|---|---|
committer | 2018-08-02 14:49:00 -0700 | |
commit | 010da9f998a7b833e8a0405eed76b6d313656225 (patch) | |
tree | 8036a0e799261a5d27e1c67f9f252dcfbd817869 /Python/pywarpx/Bucket.py | |
parent | bbd7d61b7a9c8e65d988cfac2833a2265209255f (diff) | |
download | WarpX-010da9f998a7b833e8a0405eed76b6d313656225.tar.gz WarpX-010da9f998a7b833e8a0405eed76b6d313656225.tar.zst WarpX-010da9f998a7b833e8a0405eed76b6d313656225.zip |
Bug fixes in the python interface
Fixed handling species with same name as predefined species.
Removed dependency on six
Diffstat (limited to 'Python/pywarpx/Bucket.py')
-rw-r--r-- | Python/pywarpx/Bucket.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/pywarpx/Bucket.py b/Python/pywarpx/Bucket.py index cd5c81793..c73b3dac9 100644 --- a/Python/pywarpx/Bucket.py +++ b/Python/pywarpx/Bucket.py @@ -1,5 +1,3 @@ -from six import iteritems - class Bucket(object): """ The purpose of this class is to be a named bucket for holding attributes. @@ -25,7 +23,7 @@ class Bucket(object): def attrlist(self): "Concatenate the attributes into a string" result = [] - for attr, value in iteritems(self.argvattrs): + for attr, value in self.argvattrs.items(): if value is None: continue # --- repr is applied to value so that for floats, all of the digits are included. |