Skip to content

Commit

Permalink
Add missing 'buildstep.' in MakeDirectory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amber Yust committed Oct 6, 2011
1 parent 0308023 commit c135825
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions master/buildbot/steps/slave.py
Expand Up @@ -135,7 +135,7 @@ def commandComplete(self, cmd):
return
self.finished(SUCCESS)

class MakeDirectory(BuildStep):
class MakeDirectory(buildstep.BuildStep):
"""
Create a directory on the slave.
"""
Expand All @@ -149,7 +149,7 @@ class MakeDirectory(BuildStep):
flunkOnFailure = True

def __init__(self, dir, **kwargs):
BuildStep.__init__(self, **kwargs)
buildstep.BuildStep.__init__(self, **kwargs)
self.addFactoryArguments(dir = dir)
self.dir = dir

Expand All @@ -158,7 +158,7 @@ def start(self):
if not slavever:
raise BuildSlaveTooOldError("slave is too old, does not know "
"about mkdir")
cmd = LoggedRemoteCommand('mkdir', {'dir': self.dir })
cmd = buildstep.LoggedRemoteCommand('mkdir', {'dir': self.dir })
d = self.runCommand(cmd)
d.addCallback(lambda res: self.commandComplete(cmd))
d.addErrback(self.failed)
Expand Down

0 comments on commit c135825

Please sign in to comment.