/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/tests/ftp_server.py

  • Committer: Lukáš Lalinský
  • Date: 2007-12-17 17:28:25 UTC
  • mfrom: (3120 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3123.
  • Revision ID: lalinsky@gmail.com-20071217172825-tr3pqm1mhvs3gwnn
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
"""
21
21
 
22
22
import asyncore
 
23
import errno
23
24
import os
24
25
import select
25
26
import stat
190
191
        """Calculate an ftp url to this server."""
191
192
        return 'ftp://foo:bar@localhost:%d/' % (self._port)
192
193
 
193
 
#    def get_bogus_url(self):
194
 
#        """Return a URL which cannot be connected to."""
195
 
#        return 'ftp://127.0.0.1:1'
 
194
    def get_bogus_url(self):
 
195
        """Return a URL which cannot be connected to."""
 
196
        return 'ftp://127.0.0.1:1'
196
197
 
197
198
    def log(self, message):
198
199
        """This is used by medusa.ftp_server to log connections, etc."""