Skip to content

Commit

Permalink
remove * from constructor to list
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray committed Jul 12, 2015
1 parent 64d7c33 commit df11d1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DataFormats/FWLite/python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def getByLabel (self, *args):
if len (argsList[0]) > 3:
raise RuntimeError, "getByLabel Error: label tuple has too " \
"many arguments '%s'" % argsList[0]
argsList = list(*argsList[0])
argsList = list(argsList[0])
if( type(argsList[0]) is str and ":" in argsList[0] ):
if argsList[0].count(":") > 3:
raise RuntimeError, "getByLabel Error: label tuple has too " \
Expand Down Expand Up @@ -386,7 +386,7 @@ def getByLabel (self, *args):
if len (argsList[0]) > 3:
raise RuntimeError, "getByLabel Error: label tuple has too " \
"many arguments '%s'" % argsList[0]
argsList = list(*argsList[0])
argsList = list(argsList[0])
if( type(argsList[0]) is str and ":" in argsList[0] ):
if argsList[0].count(":") > 3:
raise RuntimeError, "getByLabel Error: label tuple has too " \
Expand Down Expand Up @@ -562,7 +562,7 @@ def getByLabel (self, *args):
if len (argsList[0]) > 3:
raise RuntimeError, "getByLabel Error: label tuple has too " \
"many arguments '%s'" % argsList[0]
argsList = list(*argsList[0])
argsList = list(argsList[0])
if( type(argsList[0]) is str and ":" in argsList[0] ):
if argsList[0].count(":") > 3:
raise RuntimeError, "getByLabel Error: label tuple has too " \
Expand Down

0 comments on commit df11d1f

Please sign in to comment.