Skip to content

Commit

Permalink
simplify syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sobolev committed Jan 31, 2015
1 parent 5e802fa commit 01b56e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/status/github.py
Expand Up @@ -111,7 +111,7 @@ def _sendStartStatus(self, builderName, build):
if not status:
defer.returnValue(None)

(startTime, _) = build.getTimes()
startTime, _ = build.getTimes()

description = yield build.render(self._startDescription)

Expand Down Expand Up @@ -145,7 +145,7 @@ def _sendFinishStatus(self, builderName, build, results):
defer.returnValue(None)

state = _getGitHubState(results)
(startTime, endTime) = build.getTimes()
startTime, endTime = build.getTimes()
duration = human_readable_delta(startTime, endTime)
description = yield build.render(self._endDescription)

Expand Down

0 comments on commit 01b56e2

Please sign in to comment.