Changeset 2022 for trunk/packages/invirt-web/code/validation.py
- Timestamp:
- Jan 27, 2009, 5:56:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/validation.py
r1825 r2022 242 242 If machine is None, this is the owner of a new machine. 243 243 """ 244 if owner == user:245 return owner246 244 if machine is not None and owner in (machine.owner, None): 247 245 return machine.owner
Note: See TracChangeset
for help on using the changeset viewer.