fix rest of int/long
This commit is contained in:
parent
220e889f2b
commit
bc425033b5
2 changed files with 11 additions and 11 deletions
|
|
@ -5660,7 +5660,7 @@ class WaitrepoTask(BaseTaskHandler):
|
|||
|
||||
if isinstance(newer_than, six.string_types) and newer_than.lower() == "now":
|
||||
newer_than = start
|
||||
if not isinstance(newer_than, (type(None), int, long, float)):
|
||||
if not isinstance(newer_than, list(six.integer_types) + [type(None), float]):
|
||||
raise koji.GenericError("Invalid value for newer_than: %s" % newer_than)
|
||||
|
||||
if newer_than and nvrs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue