[conduit] Fix GNOME #582719



commit b54320e7e1cf478ff5aa7bfa18604a864799a992
Author: Heikki Paajanen <hepaajan iki fi>
Date:   Fri May 22 17:00:01 2009 +0100

    Fix GNOME #582719
---
 conduit/platform/FileGio.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conduit/platform/FileGio.py b/conduit/platform/FileGio.py
index b6ab3f0..8d81dd4 100644
--- a/conduit/platform/FileGio.py
+++ b/conduit/platform/FileGio.py
@@ -219,7 +219,7 @@ class FileTransferImpl(conduit.platform.FileTransfer):
         try:
             if self._cancel_func():
                 log.info("Transfer of %s -> %s cancelled" % (self._source.get_uri(), self._dest.get_uri()))
-                c.cancel()
+                self._cancellable.cancel()
         except Exception:
             log.warn("Could not call transfer cancel function", exc_info=True)
         return True



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]