[Buildbot-commits] buildbot/buildbot/process step.py,1.110,1.111

Brian Warner warner at users.sourceforge.net
Sun Sep 17 20:39:39 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27550/buildbot/process

Modified Files:
	step.py 
Log Message:
[project @ add DeprecationWarning to b.p.step, add some missing base classes]

Original author: warner at lothar.com
Date: 2006-09-17 20:04:53

Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- step.py	17 Sep 2006 20:39:30 -0000	1.110
+++ step.py	17 Sep 2006 20:39:37 -0000	1.111
@@ -2,8 +2,16 @@
 
 # legacy compatibility
 
+import warnings
+warnings.warn("buildbot.process.step is deprecated. Please import things like ShellCommand from one of the buildbot.steps.* modules instead.",
+              DeprecationWarning)
+
 from buildbot.steps.shell import ShellCommand, WithProperties, TreeSize, Configure, Compile, Test
 from buildbot.steps.source import CVS, SVN, Darcs, Git, Arch, Bazaar, Mercurial, P4, P4Sync
 from buildbot.steps.dummy import Dummy, FailingDummy, RemoteDummy
 
+from buildbot.process.buildstep import LogObserver, LogLineObserver
+from buildbot.process.buildstep import RemoteShellCommand
+from buildbot.process.buildstep import BuildStep, LoggingBuildStep
+from buildbot.process.buildstep import ShellCommand, WithProperties
 





More information about the Commits mailing list