[svn r62832] unbound res on special files
--HG-- branch : trunk
This commit is contained in:
parent
092569a4c9
commit
ab3f409b4e
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue