Rev 1812: Make last argument optional. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Fri Sep 5 20:03:56 BST 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1812
revision-id: jelmer at samba.org-20080905190353-lawb1y0yj5pj0ito
parent: jelmer at samba.org-20080905171211-0mw7mckfevm2haad
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Fri 2008-09-05 21:03:53 +0200
message:
  Make last argument optional.
modified:
  tests/__init__.py              __init__.py-20060508151940-e9f4d914801a2535
=== modified file 'tests/__init__.py'
--- a/tests/__init__.py	2008-09-04 15:47:01 +0000
+++ b/tests/__init__.py	2008-09-05 19:03:53 +0000
@@ -227,7 +227,7 @@
         r = ra.RemoteAccess(url)
         assert isinstance(url, str)
         ret = {}
-        def rcvr(orig_paths, rev, revprops, has_children):
+        def rcvr(orig_paths, rev, revprops, has_children=None):
             ret[rev] = (orig_paths, revprops.get(properties.PROP_REVISION_AUTHOR), revprops.get(properties.PROP_REVISION_DATE), revprops.get(properties.PROP_REVISION_LOG))
         r.get_log(rcvr, [""], start_revnum, stop_revnum, 0, True, True, 
                   revprops=[properties.PROP_REVISION_AUTHOR, properties.PROP_REVISION_DATE, properties.PROP_REVISION_LOG])




More information about the bazaar-commits mailing list