[Buildbot-commits] [Buildbot] #1877: use an enum class for state variables
Buildbot
nobody at buildbot.net
Sun Mar 13 19:30:57 UTC 2011
#1877: use an enum class for state variables
------------------------+--------------------
Reporter: dustin | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.8.+
Version: 0.8.3p1 | Keywords: simple
------------------------+--------------------
In particular, build and step states are just integers right now, and we
could get better debugging and better runtime checking by using an enum
class.
Barry Warsaw has an implementation that we could probably just import:
http://pypi.python.org/pypi/flufl.enum/3.1
--
Ticket URL: <http://trac.buildbot.net/ticket/1877>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list