From 010da9f998a7b833e8a0405eed76b6d313656225 Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Thu, 2 Aug 2018 14:49:00 -0700 Subject: Bug fixes in the python interface Fixed handling species with same name as predefined species. Removed dependency on six --- Python/pywarpx/Bucket.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Python/pywarpx/Bucket.py') 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. -- cgit v1.2.3