Rev 1704: Make last argument optional. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Fri Sep 5 20:04:31 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1704
revision-id: jelmer at samba.org-20080905190426-j3d1pq233vf2tt8z
parent: jelmer at samba.org-20080904173039-v3y93qr83eczj55e
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Fri 2008-09-05 21:04:26 +0200
message:
  Make last argument optional.
modified:
  tests/__init__.py              __init__.py-20060508151940-e9f4d914801a2535
=== modified file 'tests/__init__.py'
--- a/tests/__init__.py	2008-08-23 15:38:17 +0000
+++ b/tests/__init__.py	2008-09-05 19:04:26 +0000
@@ -221,7 +221,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