[svn r62832] unbound res on special files

--HG--
branch : trunk
This commit is contained in:
rxe 2009-03-10 22:39:39 +01:00
parent 092569a4c9
commit ab3f409b4e
1 changed files with 2 additions and 0 deletions

View File

@ -432,6 +432,8 @@ class Directory(FSCollector):
res = self.consider_file(path)
elif path.check(dir=1):
res = self.consider_dir(path)
else:
res = None
if isinstance(res, list):
# throw out identical modules
l = []