[CalendarServer-changes] [9124] CalendarServer/trunk/calendarserver/tools/shell/cmd.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 16 13:36:07 PDT 2012
Revision: 9124
http://trac.macosforge.org/projects/calendarserver/changeset/9124
Author: wsanchez at apple.com
Date: 2012-04-16 13:36:05 -0700 (Mon, 16 Apr 2012)
Log Message:
-----------
Complete_files completes on all tokens.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/shell/cmd.py
Modified: CalendarServer/trunk/calendarserver/tools/shell/cmd.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell/cmd.py 2012-04-16 20:31:04 UTC (rev 9123)
+++ CalendarServer/trunk/calendarserver/tools/shell/cmd.py 2012-04-16 20:36:05 UTC (rev 9124)
@@ -154,10 +154,8 @@
if len(tokens) == 0:
returnValue(files)
- elif len(tokens) == 1:
- returnValue(self.complete(tokens[0], files))
else:
- returnValue(())
+ returnValue(self.complete(tokens[-1], files))
class Commands(CommandsBase):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120416/225f229c/attachment.html>
More information about the calendarserver-changes
mailing list