Navigation Menu

Skip to content

Commit

Permalink
provide version for the deprecate decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sobolev committed Jun 29, 2015
1 parent 6295d9f commit e66151b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion master/buildbot/process/buildstep.py
Expand Up @@ -27,6 +27,7 @@
from twisted.python import failure
from twisted.python import log
from twisted.python import util as twutil
from twisted.python import versions
from twisted.python.failure import Failure
from twisted.python.reflect import accumulateClassList
from twisted.web.util import formatFailure
Expand Down Expand Up @@ -334,7 +335,7 @@ def setBuild(self, build):
def setBuildSlave(self, buildslave):
self.buildslave = buildslave

@deprecate.deprecated
@deprecate.deprecated(versions.Version("buildbot", 0, 9, 0))
def setDefaultWorkdir(self, workdir):
if self._workdir is None:
self._workdir = workdir
Expand Down

0 comments on commit e66151b

Please sign in to comment.