/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp.py

  • Committer: Vincent Ladeuil
  • Date: 2007-09-05 13:35:38 UTC
  • mto: (2804.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 2805.
  • Revision ID: v.ladeuil+lp@free.fr-20070905133538-3hlcjti8pktcamp0
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
651
651
                channel.read_only = 0
652
652
 
653
653
            # Only 'foo' user is allowed for the tests
654
 
            if self.secured_user is not None \
655
 
                    and username == self.secured_user \
656
 
                    and password != self.secured_password:
 
654
            if (self.secured_user is not None
 
655
                and username == self.secured_user
 
656
                and password != self.secured_password):
657
657
                return 0, 'Password invalid.', None
658
658
            else:
659
659
                return 1, 'OK.', medusa.filesys.os_filesystem(self.root)