in order to avoid ambiguity if an unexpected ValueError
occurs. (trunk r8043)
svn path=/main/branches/2.1.2/; revision=8072
if not matched_packages:
if raise_on_missing:
- raise ValueError
+ raise portage_exception.PackageNotFound(x)
if not arg:
xinfo='"'+x+'"'
else:
self.target_root, mydep, raise_on_missing=True, arg=mydep):
print >> sys.stderr, "\n\n!!! Problem resolving dependencies for", mydep
return 0
- except ValueError:
+ except portage_exception.PackageNotFound:
missing_atoms.append(mydep)
if not self.validate_blockers():