Skip to content

Commit

Permalink
accept long integers as well as integers for integer types
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Aug 5, 2012
1 parent 2508ef4 commit 6a73e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/test/util/verifier.py
Expand Up @@ -60,7 +60,7 @@ def sourcedProperties(value):
rest = ''

if typ == 'integer':
valfn = lambda v : isinstance(v, int)
valfn = lambda v : isinstance(v, int) or isinstance(v, long)
elif typ == 'string':
# note that we intentionally *enforce* unicode!
valfn = lambda v : isinstance(v, unicode)
Expand Down

0 comments on commit 6a73e5d

Please sign in to comment.