summaryrefslogtreecommitdiff
path: root/geneticone/backend/package.py
diff options
context:
space:
mode:
authornecoro <>2006-10-27 13:58:52 +0000
committernecoro <>2006-10-27 13:58:52 +0000
commit3384091af579dbafdc366753cf846e3e63c61f7b (patch)
tree680428f2043735763f51c38f4e891ae79301b2ea /geneticone/backend/package.py
parentf8bcb199cd5569dba9039c0286456a2d651a22a8 (diff)
downloadportato-3384091af579dbafdc366753cf846e3e63c61f7b.tar.gz
portato-3384091af579dbafdc366753cf846e3e63c61f7b.tar.bz2
portato-3384091af579dbafdc366753cf846e3e63c61f7b.zip
Moved gtk-specific stuff to an extra subdir to make it more flexible for qt
Diffstat (limited to '')
-rw-r--r--geneticone/backend/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/geneticone/backend/package.py b/geneticone/backend/package.py
index edc3da1..d628a56 100644
--- a/geneticone/backend/package.py
+++ b/geneticone/backend/package.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
#
# File: geneticone/backend/package.py
# This file is part of the Genetic/One-Project, a graphical portage-frontend.
@@ -275,7 +276,7 @@ class Package (gentoolkit.Package):
if dep[0] == '!': # blocking sth
blocked = find_installed_packages(dep[1:])
if blocked != []:
- raise BlockedException, blocked[0].get_cpv()
+ raise BlockedException, (self.get_cpv(), blocked[0].get_cpv())
else: # next flag
continue