/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/workingtree_implementations/test_walkdirs.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-08 07:05:00 UTC
  • mfrom: (3376.2.15 no-asserts)
  • Revision ID: pqm@pqm.ubuntu.com-20080508070500-9zyyvsk0eev20t4w
(mbp) remove and disallow assert statements

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]