Changeset 1713
- Timestamp:
- Nov 17, 2008, 9:22:45 PM (17 years ago)
- File:
- 
          - 1 edited
 
 
Legend:
- Unmodified
- Added
- Removed
- 
        trunk/packages/invirt-console-server/files/usr/bin/invirt-consolefsr1700 r1713 44 44 45 45 def recache(self): 46 """Refresh the local cache of VMs if the cache is more than 15 minutes old47 """48 46 if time() - self.lasttime > 5: 49 47 self.lasttime = time() … … 52 50 53 51 def getMachines(self, **kw): 54 """Get the list of VMs in the database"""55 52 self.recache() 56 53 return self.machines.keys() … … 72 69 73 70 def getK5login(self, machine, **kw): 74 """Build the ACL for a machine and turn it into a .k5login file75 """76 71 self.recache() 77 72 machine = self.machines[machine] 
Note: See TracChangeset
          for help on using the changeset viewer.
      
