~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/ftp_server/__init__.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-15 21:35:53 UTC
  • mfrom: (6507.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20120315213553-pj1g3cjj19nstvns
(vila) Merge 2.5 branch including fix for bug #956027 (Vincent
 Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
try:
43
43
    from bzrlib.tests.ftp_server import pyftpdlib_based
44
 
    pyftpdlib_available = True
 
44
    if pyftpdlib_based.pyftplib_version >= (0, 7, 0):
 
45
        pyftpdlib_available = True
 
46
    else:
 
47
        # 0.6.0 breaks SITE CHMOD
 
48
        pyftpdlib_available = False
45
49
except ImportError:
46
50
    pyftpdlib_available = False
47
51