~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-04-02 01:44:26 UTC
  • mfrom: (6518 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6519.
  • Revision ID: jelmer@samba.org-20120402014426-0o5qtysohyl006b2
merge bzr.dev.

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