Rev 1705: Cope with has_children not always being returned. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Fri Sep 5 21:23:15 BST 2008


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

------------------------------------------------------------
revno: 1705
revision-id: jelmer at samba.org-20080905202310-ku283g5ylf22ovyt
parent: jelmer at samba.org-20080905190426-j3d1pq233vf2tt8z
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Fri 2008-09-05 22:23:10 +0200
message:
  Cope with has_children not always being returned.
modified:
  transport.py                   transport.py-20060406231150-b3472d06b3a0818d
=== modified file 'transport.py'
--- a/transport.py	2008-09-02 19:53:47 +0000
+++ b/transport.py	2008-09-05 20:23:10 +0000
@@ -291,8 +291,8 @@
             def run(self):
                 assert not self.busy, "already running"
                 self.busy = True
-                def rcvr(*args):
-                    self.pending.append(args)
+                def rcvr(orig_paths, revision, revprops, has_children=None):
+                    self.pending.append((orig_paths, revision, revprops, has_children))
                     self.semaphore.release()
                 try:
                     try:




More information about the bazaar-commits mailing list