[CalendarServer-changes] [5498] CalDAVClientLibrary/trunk/src/browser/baseshell.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 20 17:19:15 PDT 2010
Revision: 5498
http://trac.macosforge.org/projects/calendarserver/changeset/5498
Author: cdaboo at apple.com
Date: 2010-04-20 17:19:11 -0700 (Tue, 20 Apr 2010)
Log Message:
-----------
Python 2.6 clean-up.
Modified Paths:
--------------
CalDAVClientLibrary/trunk/src/browser/baseshell.py
Modified: CalDAVClientLibrary/trunk/src/browser/baseshell.py
===================================================================
--- CalDAVClientLibrary/trunk/src/browser/baseshell.py 2010-04-20 22:47:17 UTC (rev 5497)
+++ CalDAVClientLibrary/trunk/src/browser/baseshell.py 2010-04-21 00:19:11 UTC (rev 5498)
@@ -1,5 +1,5 @@
##
-# Copyright (c) 2007-2008 Apple Inc. All rights reserved.
+# Copyright (c) 2007-2010 Apple Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -74,10 +74,10 @@
try:
self.execute(cmdline)
except SystemExit, e:
- print "Exiting shell: %s" % (e.message,)
+ print "Exiting shell: %s" % (e.code,)
break
except UnknownCommand, e:
- print "Command '%s' unknown." % (e.message,)
+ print "Command '%s' unknown." % (e,)
except Exception, e:
traceback.print_exc()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100420/efc96cd1/attachment.html>
More information about the calendarserver-changes
mailing list