Skip to content

Commit

Permalink
Merge pull request #1750 from sa2ajj/deprecation-fix
Browse files Browse the repository at this point in the history
provide version for the deprecate decorator
  • Loading branch information
Mikhail Sobolev committed Jun 30, 2015
2 parents e6dd716 + e66151b commit 6b463b0
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 @@ -335,7 +336,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 6b463b0

Please sign in to comment.