diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-29 21:17:39 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-29 21:17:39 -0500 |
commit | 07ee90254ce64ec734dacebea715a0b7a24599af (patch) | |
tree | 1d7431a16c0beb1b01d5da69f9d979670b715956 /libbe/storage/vcs | |
parent | b1540a08131173ace920f2d3d0829e54b8f26283 (diff) | |
download | bugseverywhere-07ee90254ce64ec734dacebea715a0b7a24599af.tar.gz |
Use ._vcs_is_versioned() in VCS._children()
Otherwise Arch will return '.arch-ids' in its list, etc.
Diffstat (limited to 'libbe/storage/vcs')
-rw-r--r-- | libbe/storage/vcs/base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index 6ece16d..b47ed2f 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -760,6 +760,9 @@ os.listdir(self.get_path("bugs")): listdir(os.path.join(path, c))]) elif c in ['id-cache', 'version']: children[i] = None + elif self.interspersed_vcs_files \ + and self._vcs_is_versioned(c) == False: + children[i] = None for i,c in enumerate(children): if c == None: continue cpath = os.path.join(path, c) |