Skip to content

Commit

Permalink
Handle 'buildbot try' without --who
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jul 3, 2011
1 parent 7da09de commit 344e2bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/schedulers/trysched.py
Expand Up @@ -227,8 +227,8 @@ def perspective_try(self, branch, revision, patch, repository, project,
wfd = defer.waitForDeferred(
db.sourcestamps.addSourceStamp(branch=branch, revision=revision,
repository=repository, project=project, patch_level=patch[0],
patch_body=patch[1], patch_subdir='', patch_author=who,
patch_comment = comment))
patch_body=patch[1], patch_subdir='', patch_author=who or '',
patch_comment=comment or ''))
# note: no way to specify patch subdir - #1769
yield wfd
ssid = wfd.getResult()
Expand Down

0 comments on commit 344e2bd

Please sign in to comment.