/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/memory.py

Merge from bzr.ab.integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
    def __init__(self, size, is_dir, perms):
37
37
        self.st_size = size
38
 
        if perms is None:
39
 
            perms = 0644
40
38
        if not is_dir:
 
39
            if perms is None:
 
40
                perms = 0644
41
41
            self.st_mode = S_IFREG | perms
42
42
        else:
 
43
            if perms is None:
 
44
                perms = 0755
43
45
            self.st_mode = S_IFDIR | perms
44
46
 
45
47