Skip to content

Commit

Permalink
Remove test code under "notreally" which was not being exercised
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigc committed Sep 28, 2017
1 parent c66a109 commit 3851137
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions worker/buildbot_worker/runprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ class RunProcess(object):
shell.
"""

notreally = False
BACKUP_TIMEOUT = 5
interruptSignal = "KILL"
CHUNK_LIMIT = 128 * 1024
Expand Down Expand Up @@ -456,12 +455,6 @@ def _startCommand(self):
if not os.path.isdir(self.workdir):
os.makedirs(self.workdir)
log.msg("RunProcess._startCommand")
if self.notreally:
self._addToBuffers('header', "command '{0}' in dir {1}".format(
self.fake_command, self.workdir))
self._addToBuffers('header', "(not really)\n")
self.finished(None, 0)
return

self.pp = RunProcessPP(self)

Expand Down

0 comments on commit 3851137

Please sign in to comment.