summaryrefslogtreecommitdiff
path: root/geneticone/gui/gui_helper.py
diff options
context:
space:
mode:
authornecoro <>2006-09-30 08:23:46 +0000
committernecoro <>2006-09-30 08:23:46 +0000
commite9df5f9ed8b2d67ff74a7861d2ccc4f51a10d86c (patch)
tree76d9de6a72f67cb914396ba88b7204b80bac7dc7 /geneticone/gui/gui_helper.py
parent702f6a0b7d3799b70ed904e199f4275bc0dc54e2 (diff)
downloadportato-e9df5f9ed8b2d67ff74a7861d2ccc4f51a10d86c.tar.gz
portato-e9df5f9ed8b2d67ff74a7861d2ccc4f51a10d86c.tar.bz2
portato-e9df5f9ed8b2d67ff74a7861d2ccc4f51a10d86c.zip
0.3.2 release; changed font in terminal; added new "masking"-dialog
Diffstat (limited to '')
-rw-r--r--geneticone/gui/gui_helper.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/geneticone/gui/gui_helper.py b/geneticone/gui/gui_helper.py
index 2f98bd7..b485bf0 100644
--- a/geneticone/gui/gui_helper.py
+++ b/geneticone/gui/gui_helper.py
@@ -95,7 +95,11 @@ class EmergeQueue:
if not unmerge:
try:
# insert dependencies
- pkg = backend.find_packages("="+cpv)[0]
+ pkg = backend.find_packages("="+cpv)
+ if pkg:
+ pkg = pkg[0]
+ else:
+ raise backend.PackageNotFoundException(cpv)
deps = pkg.get_dep_packages()
if update: