Changeset 867 for trunk/packages/sipb-xen-www/code/webcommon.py
- Timestamp:
- Aug 4, 2008, 11:20:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/webcommon.py
r864 r867 39 39 class State(object): 40 40 """State for a request""" 41 def __init__(self, user, overlord=False):41 def __init__(self, user, isadmin=False): 42 42 self.username = user 43 self. overlord = overlord43 self.isadmin = isadmin 44 44 45 45 def getMachines(self): 46 if self. overlord:46 if self.isadmin: 47 47 return Machine.select() 48 48 else:
Note: See TracChangeset
for help on using the changeset viewer.