Skip to content

Commit

Permalink
fix py2/py3 super() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bdcht committed Apr 21, 2019
1 parent be7813c commit 607e30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amoco/system/structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ class StructCore(object):
union = False

def __new__(cls,*args,**kargs):
obj = super(StructCore,cls).__new__(cls,*args,**kargs)
obj = super(StructCore,cls).__new__(cls)
obj.fields = [f.copy() for f in cls.fields]
return obj

Expand Down

0 comments on commit 607e30f

Please sign in to comment.