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

Use a simpler query construct in ConsoleFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.