mercurial/util.py
changeset 5360 b98c377b3c16
parent 5355 efe7ef325737
parent 5357 c6adf2be6069
child 5396 5105b119edd2
--- a/mercurial/util.py	Tue Oct 02 20:25:35 2007 +0200
+++ b/mercurial/util.py	Tue Oct 02 13:49:36 2007 -0700
@@ -1468,7 +1468,7 @@
         s += timezone_format % (-tz / 3600, ((-tz % 3600) / 60))
     return s
 
-def strdate(string, format, defaults):
+def strdate(string, format, defaults=[]):
     """parse a localized time string and return a (unixtime, offset) tuple.
     if the string cannot be parsed, ValueError is raised."""
     def timezone(string):