Skip to content

Commit

Permalink
Merge pull request #10159 from lgray/fix_FWLite_init_py_75X
Browse files Browse the repository at this point in the history
Fix bug in DataFormats/FWLite/python/__init__.py (75X)
  • Loading branch information
cmsbuild committed Jul 15, 2015
2 parents db5eb04 + df11d1f commit 6064131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DataFormats/FWLite/python/__init__.py
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 6064131

Please sign in to comment.