[CalendarServer-changes] [4355] CalendarServer/trunk/calendarserver/tools/principals.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 17 15:33:44 PDT 2009
Revision: 4355
http://trac.macosforge.org/projects/calendarserver/changeset/4355
Author: wsanchez at apple.com
Date: 2009-06-17 15:33:43 -0700 (Wed, 17 Jun 2009)
Log Message:
-----------
Don't check for args until after flags
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/principals.py
Modified: CalendarServer/trunk/calendarserver/tools/principals.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/principals.py 2009-06-17 21:52:39 UTC (rev 4354)
+++ CalendarServer/trunk/calendarserver/tools/principals.py 2009-06-17 22:33:43 UTC (rev 4355)
@@ -118,9 +118,6 @@
except GetoptError, e:
usage(e)
- if not args:
- usage("No principals specified.")
-
#
# Get configuration
#
@@ -187,6 +184,9 @@
else:
raise NotImplementedError(opt)
+ if not args:
+ usage("No principals specified.")
+
#
# Get configuration
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090617/96ac3fb6/attachment.html>
More information about the calendarserver-changes
mailing list