Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in DataFormats/FWLite/python/__init__.py (75X) #10159

Merged
merged 1 commit into from
Jul 15, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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