Changeset 1644 for trunk/packages/invirt-web
- Timestamp:
- Nov 14, 2008, 11:17:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/webcommon.py
r1624 r1644 26 26 def getMachines(self): 27 27 if self.isadmin: 28 return Machine.query(). join('acl').all()28 return Machine.query().all() 29 29 else: 30 30 return Machine.query().join('acl').filter_by(user=self.username)
Note: See TracChangeset
for help on using the changeset viewer.