Rev 4935: Found something that was using an attribute I removed. in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0rc1-module-available

John Arbash Meinel john at arbash-meinel.com
Tue Dec 22 16:33:06 GMT 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0rc1-module-available

------------------------------------------------------------
revno: 4935
revision-id: john at arbash-meinel.com-20091222163254-n0uxfntkv8jmt4pe
parent: john at arbash-meinel.com-20091222160346-pfl3sknqakz4dd1p
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0rc1-module-available
timestamp: Tue 2009-12-22 10:32:54 -0600
message:
  Found something that was using an attribute I removed.
-------------- next part --------------
=== modified file 'bzrlib/tests/transport_util.py'
--- a/bzrlib/tests/transport_util.py	2009-09-17 11:54:41 +0000
+++ b/bzrlib/tests/transport_util.py	2009-12-22 16:32:54 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2007 Canonical Ltd
+# Copyright (C) 2007, 2009 Canonical Ltd
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,11 +15,11 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 import bzrlib.hooks
+from bzrlib.tests import features
 
 # SFTPTransport offers better performances but relies on paramiko, if paramiko
 # is not available, we fallback to FtpTransport
-from bzrlib.tests import test_sftp_transport
-if test_sftp_transport.paramiko_loaded:
+if features.paramiko.available():
     from bzrlib.transport import sftp
     _backing_scheme = 'sftp'
     _backing_transport_class = sftp.SFTPTransport



More information about the bazaar-commits mailing list