mirror of https://github.com/tLDP/python-tldp
found another typo while testing
This commit is contained in:
parent
39ca112e40
commit
fe507461e8
|
@ -24,7 +24,7 @@ class Sources(object):
|
|||
def validateDirs(self):
|
||||
results = [os.path.exists(x) for x in self.sourcedirs]
|
||||
if not all(results):
|
||||
for result, sdir in zip(results, self.sourcedir):
|
||||
for result, sdir in zip(results, self.sourcedirs):
|
||||
logger.critical("[Errno 2] No such file or directory: " + sdir)
|
||||
raise OSError("[Errno 2] No such file or directory: " + sdir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue