Skip to content

Commit

Permalink
convert sourcestamp's patch level to int if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Mar 31, 2010
1 parent b583a39 commit 792c47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/sourcestamp.py
Expand Up @@ -49,7 +49,7 @@ def __init__(self, branch=None, revision=None, patch=None,
assert isinstance(revision, str), type(revision)
if patch is not None:
patch_level = patch[0]
assert isinstance(patch_level, int), type(patch_level)
patch_level = int(patch_level)
patch_diff = patch[1]
assert isinstance(patch_diff, str), type(patch_diff)
if len(patch) > 2:
Expand Down

0 comments on commit 792c47e

Please sign in to comment.