From f29290f91175fa3704287afb99d14d78db783545 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 25 Jun 2008 22:39:00 +0000 Subject: [PATCH] Fix KeyError constructor style. svn path=/main/trunk/; revision=10792 --- pym/portage/cache/mappings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/cache/mappings.py b/pym/portage/cache/mappings.py index 19673e36e..e971177a4 100644 --- a/pym/portage/cache/mappings.py +++ b/pym/portage/cache/mappings.py @@ -208,7 +208,7 @@ def slot_dict_class(keys): try: k, v = self.iteritems().next() except StopIteration: - raise KeyError, 'container is empty' + raise KeyError('container is empty') del self[k] return (k, v) -- 2.26.2