diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-11 01:39:31 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-11 01:39:31 +0200 |
commit | d9a7cd1da64da57bea05e5b234b9d9c6fea7f911 (patch) | |
tree | 65955560af923d5fc5a6517f8362903f840d13ee /portato/gui/windows/pkglist.py | |
parent | 3c52ca58438e77d791a5cd5a2e3e0427445e93c2 (diff) | |
download | portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.gz portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.bz2 portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.zip |
applied 2to3 and fixed the result
Diffstat (limited to 'portato/gui/windows/pkglist.py')
-rw-r--r-- | portato/gui/windows/pkglist.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/windows/pkglist.py b/portato/gui/windows/pkglist.py index df3ef46..956d929 100644 --- a/portato/gui/windows/pkglist.py +++ b/portato/gui/windows/pkglist.py @@ -10,7 +10,7 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from __future__ import absolute_import + import gtk from .basic import AbstractDialog @@ -107,11 +107,11 @@ class PkgListWindow (AbstractDialog): try: try: self.queue.append(item, "install", oneshot = True) - except PackageNotFoundException, e: + except PackageNotFoundException as e: if unmask_dialog(e[0]) == gtk.RESPONSE_YES : self.queue.append(item, "install", unmask = True, oneshot = True) - except BlockedException, e: + except BlockedException as e: blocked_dialog(e[0], e[1]) else: for item in items: |