Minor cleanup in bincvs module

* lib/vclib/bincvs/__init__.py
  (_log_path)
    no need to deal with Attic paths here, they are filtered out in
    listdir


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@954 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
rey4 2004-10-16 02:32:32 +00:00
parent 173a8a7290
commit 31410c3272
1 changed files with 1 additions and 2 deletions

View File

@ -924,8 +924,7 @@ def _log_path(entry, dirpath, getdirs):
if entry.kind == vclib.FILE:
path = entry.in_attic and 'Attic' or ''
name = entry.name
elif entry.kind == vclib.DIR and getdirs and entry.name != 'Attic':
assert not entry.in_attic
elif entry.kind == vclib.DIR and getdirs:
entry.newest_file = _newest_file(os.path.join(dirpath, entry.name))
if entry.newest_file:
path = entry.name