summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-03-05 16:47:22 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2019-03-05 16:47:22 +0000
commitf4126e1f085a4bfab9cae5081af57edb40af0832 (patch)
treeda6fb7bdfd3fdb4805273fd83c551f01d34f67e2
parent100f86a2afb6e6da3c2ac0a2d7d9501198d62a67 (diff)
downloadframework-f4126e1f085a4bfab9cae5081af57edb40af0832.tar.gz
framework-f4126e1f085a4bfab9cae5081af57edb40af0832.tar.bz2
framework-f4126e1f085a4bfab9cae5081af57edb40af0832.tar.xz
framework-f4126e1f085a4bfab9cae5081af57edb40af0832.zip
python 2.7 fix
-rwxr-xr-xWrappers/Python/ccpi/framework/BlockDataContainer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/framework/BlockDataContainer.py b/Wrappers/Python/ccpi/framework/BlockDataContainer.py
index 9a42a16..e077290 100755
--- a/Wrappers/Python/ccpi/framework/BlockDataContainer.py
+++ b/Wrappers/Python/ccpi/framework/BlockDataContainer.py
@@ -18,7 +18,7 @@ import functools
class BlockDataContainer(object):
'''Class to hold a composite operator'''
__array_priority__ = 1
- def __init__(self, *args, shape=None):
+ def __init__(self, shape=None, *args):
'''containers must be passed row by row'''
self.containers = args
self.index = 0