[CalendarServer-changes] [6177] CalendarServer/trunk/contrib/performance/benchmark.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 24 12:52:32 PDT 2010


Revision: 6177
          http://trac.macosforge.org/projects/calendarserver/changeset/6177
Author:   exarkun at twistedmatrix.com
Date:     2010-08-24 12:52:32 -0700 (Tue, 24 Aug 2010)
Log Message:
-----------
Make the default value usable by making it an int instead of a str

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/benchmark.py

Modified: CalendarServer/trunk/contrib/performance/benchmark.py
===================================================================
--- CalendarServer/trunk/contrib/performance/benchmark.py	2010-08-24 19:44:55 UTC (rev 6176)
+++ CalendarServer/trunk/contrib/performance/benchmark.py	2010-08-24 19:52:32 UTC (rev 6177)
@@ -245,7 +245,7 @@
     optParameters = [
         ('host', 'h', 'localhost',
          'Hostname or IPv4 address on which a CalendarServer is listening'),
-        ('port', 'p', '8008',
+        ('port', 'p', 8008,
          'Port number on which a CalendarServer is listening', portCoerce),
         ('log-directory', 'd', None,
          'Logs directory of the CalendarServer being benchmarked (if and only '
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100824/66f4a1f1/attachment.html>


More information about the calendarserver-changes mailing list