Rev 5269: Fix gio-related test failures. in file:///home/vila/src/bzr/cleanup/various/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri May 28 13:34:46 BST 2010


At file:///home/vila/src/bzr/cleanup/various/

------------------------------------------------------------
revno: 5269
revision-id: v.ladeuil+lp at free.fr-20100528123446-gvx9w909eptmq65a
parent: pqm at pqm.ubuntu.com-20100528035625-092j7ythct3ja54s
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: various
timestamp: Fri 2010-05-28 14:34:46 +0200
message:
  Fix gio-related test failures.
  
  * bzrlib/transport/gio_transport.py:
  (GioTransport.put_file): Fix the 'closed' out-of-scopee test
  failures.
-------------- next part --------------
=== modified file 'bzrlib/transport/gio_transport.py'
--- a/bzrlib/transport/gio_transport.py	2010-05-27 02:52:39 +0000
+++ b/bzrlib/transport/gio_transport.py	2010-05-28 12:34:46 +0000
@@ -304,6 +304,7 @@
         f = None
         fout = None
         try:
+            closed = True
             try:
                 f = self._get_GIO(tmppath)
                 fout = f.create()



More information about the bazaar-commits mailing list