From 6fb70c7b05c641416a2b43c2d31be6bb8779c1d3 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 17 Nov 2008 21:22:45 -0500 Subject: [PATCH] remove an erroneous comment and some needless ones svn path=/trunk/packages/invirt-console-server/; revision=1713 --- files/usr/bin/invirt-consolefs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/files/usr/bin/invirt-consolefs b/files/usr/bin/invirt-consolefs index b6e3844..64f4b2a 100755 --- a/files/usr/bin/invirt-consolefs +++ b/files/usr/bin/invirt-consolefs @@ -43,15 +43,12 @@ class ConsoleFS(routefs.RouteFS): return m def recache(self): - """Refresh the local cache of VMs if the cache is more than 15 minutes old - """ if time() - self.lasttime > 5: self.lasttime = time() database.clear_cache() self.machines = dict((machine.name, machine) for machine in database.session.query(database.Machine).all()) def getMachines(self, **kw): - """Get the list of VMs in the database""" self.recache() return self.machines.keys() @@ -71,8 +68,6 @@ class ConsoleFS(routefs.RouteFS): return -errno.EINVAL def getK5login(self, machine, **kw): - """Build the ACL for a machine and turn it into a .k5login file - """ self.recache() machine = self.machines[machine] users = [acl.user for acl in machine.acl] -- 1.7.9.5