Created
January 29, 2014 22:14
-
-
Save jmrodri/8698254 to your computer and use it in GitHub Desktop.
bz 1021443
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/subscription_manager/gui/registergui.py b/src/subscription_manager/gui/registergui.py | |
index 521109b..65836ba 100644 | |
--- a/src/subscription_manager/gui/registergui.py | |
+++ b/src/subscription_manager/gui/registergui.py | |
@@ -29,6 +29,7 @@ import gtk.glade | |
import rhsm.config as config | |
from rhsm.utils import ServerUrlParseError | |
+from rhsm.connection import GoneException | |
from subscription_manager.branding import get_branding | |
from subscription_manager.cache import InstalledProductsManager, ProfileManager | |
@@ -502,6 +503,8 @@ class SelectSLAScreen(Screen): | |
elif isinstance(error[1], AllProductsCoveredException): | |
InfoDialog(_("All installed products are covered by valid entitlements. No need to attach subscriptions at this time."), | |
parent=self._parent.parent) | |
+ elif isinstance(error[1], GoneException): | |
+ InfoDialog(_("Consumer has been deleted."), parent=self._parent.parent) | |
else: | |
handle_gui_exception(error, _("Error subscribing"), | |
self._parent.parent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment