~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908184629-e3fc4c61ca21508c
pychecker is on crack; go back to using 'is None'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
307
307
        abspath = self._abspath(relpath)
308
308
        tmp_abspath = '%s.tmp.%.9f.%d.%d' % (abspath, time.time(),
309
309
                        os.getpid(), random.randint(0,0x7FFFFFFF))
310
 
        if getattr(fp, 'read', None) == None:
 
310
        if getattr(fp, 'read', None) is None:
311
311
            fp = StringIO(fp)
312
312
        try:
313
313
            mutter("FTP put: %s", abspath)