summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index acaefa30b..4ff350ce7 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6200,6 +6200,11 @@ class dblink:
# secondhand = list of symlinks that have been skipped due to
# their target not existing (will merge later),
+ if not os.path.isdir(srcroot):
+ writemsg("!!! Directory Not Found: D='%s'\n" % srcroot,
+ noiselevel=-1)
+ return 1
+
if not os.path.exists(self.dbcatdir):
os.makedirs(self.dbcatdir)