Changeset 412 for trunk/packages/sipb-xen-www/code
- Timestamp:
- Apr 14, 2008, 12:11:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/getafsgroups.py
r409 r412 2 2 import pprint 3 3 import subprocess 4 from webcommon import InvalidInput5 4 6 5 # import ldap … … 38 37 def getLockerPath(locker): 39 38 if '/' in locker or locker in ['.', '..']: 40 raise InvalidInput('owner', locker, 'Locker name is invalid.')39 raise AfsProcessError("Locker '%s' is invalid." % locker) 41 40 return '/mit/' + locker 42 41
Note: See TracChangeset
for help on using the changeset viewer.