~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_walkdirs.py

  • Committer: Martin Pool
  • Date: 2008-05-08 04:21:01 UTC
  • mto: This revision was merged to the branch mainline in revision 3415.
  • Revision ID: mbp@sourcefrog.net-20080508042101-c9c0dmqo4not47qm
Compare to None using is/is not not ==

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        self.file_path = file_path
34
34
        self.abspath = tree.abspath(file_path)
35
35
        self.relpath = tree.relpath(file_path)
36
 
        if file_name == None:
 
36
        if file_name is None:
37
37
           file_name = os.path.split(file_path)[-1]
38
38
           if len(file_name) == 0:
39
39
               file_name = os.path.split(file_path)[-2]