Changeset 2815
- Timestamp:
- Dec 30, 2009, 3:55:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2814 r2815 521 521 session.begin() 522 522 try: 523 kws = dict( [(kw, fields[kw]) for kw in523 kws = dict((kw, fields[kw]) for kw in 524 524 'owner admin contact name description memory vmtype disksize'.split() 525 if fields [kw]])525 if fields.get(kw)) 526 526 kws['machine_id'] = machine_id 527 527 validate = validation.Validate(username, state, **kws)
Note: See TracChangeset
for help on using the changeset viewer.