Ignore:
Timestamp:
Aug 4, 2008, 11:20:25 PM (16 years ago)
Author:
price
Message:

rename overlord -> admin mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/webcommon.py

    r864 r867  
    3939class State(object):
    4040    """State for a request"""
    41     def __init__(self, user, overlord=False):
     41    def __init__(self, user, isadmin=False):
    4242        self.username = user
    43         self.overlord = overlord
     43        self.isadmin = isadmin
    4444
    4545    def getMachines(self):
    46         if self.overlord:
     46        if self.isadmin:
    4747            return Machine.select()
    4848        else:
Note: See TracChangeset for help on using the changeset viewer.