Changeset 2157


Ignore:
Timestamp:
Feb 17, 2009, 4:29:46 AM (16 years ago)
Author:
broder
Message:

Use a simpler query construct in ConsoleFS.

Location:
trunk/packages/invirt-console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-console/debian/changelog

    r2099 r2157  
     1invirt-console (0.2.7) unstable; urgency=low
     2
     3  * Use a simpler query construct in ConsoleFS.
     4
     5 -- Evan Broder <broder@mit.edu>  Tue, 17 Feb 2009 04:23:05 -0500
     6
    17invirt-console (0.2.6) unstable; urgency=high
    28
  • trunk/packages/invirt-console/server/usr/bin/invirt-consolefs

    r1836 r2157  
    4747            self.lasttime = time()
    4848            database.clear_cache()
    49             self.machines = dict((machine.name, machine) for machine in database.session.query(database.Machine).all())
     49            self.machines = dict((machine.name, machine) for machine in database.Machine.query.all())
    5050
    5151    def getMachines(self, **kw):
Note: See TracChangeset for help on using the changeset viewer.