diff options
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index a76af264a..317b22003 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5562,6 +5562,8 @@ class portdbapi(dbapi): def finddigest(self,mycpv): try: mydig = self.findname2(mycpv)[0] + if not mydig: + return "" mydigs = string.split(mydig, "/")[:-1] mydig = string.join(mydigs, "/") |