Imported Upstream version 0.0~git20110829
[debian/mudpuppy.git] / constants.py
1 #!/usr/bin/env python
2
3 '''constants for talking to make-magic'''
4
5 # Item states
6 #
7 # These are the same as core.bits.Item.allowed_states in make-magic
8
9 INCOMPLETE = 'INCOMPLETE'
10 FAILED = 'FAILED'
11 IN_PROGRESS = 'IN_PROGRESS'
12 COMPLETE = 'COMPLETE'
13
14
15 # Token name used for checking to see if we did a state change
16 # This must be the same across all agents talking to a make-magic server
17 #
18 # This is the same as in make-magic's mclient.py stub shell client
19 CHANGE_STATE_TOKEN = '_change_state_token'