From aa2e3f17b1d4d1824fedd2cfedc847eff19fc037 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 11 Feb 2010 20:40:10 +0100 Subject: [PATCH] [entropy.client] I HATE PYTHON --- libraries/entropy/client/interfaces/package.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/entropy/client/interfaces/package.py b/libraries/entropy/client/interfaces/package.py index c2df8937f..793525ec3 100644 --- a/libraries/entropy/client/interfaces/package.py +++ b/libraries/entropy/client/interfaces/package.py @@ -75,9 +75,7 @@ class Package: def check_action_validity(self, action): if action not in self.valid_actions: - raise AttributeError("Action must be in %s" % (mytxt, - self.valid_actions,) - ) + raise AttributeError("Action must be in %s" % (self.valid_actions,)) @staticmethod def get_standard_fetch_disk_path(download):