[yum-cvs] yum/yum Errors.py,1.12,1.13 comps.py,1.14,1.15
Seth Vidal
skvidal at linux.duke.edu
Thu Jan 25 19:42:13 UTC 2007
- Previous message: [yum-cvs] yum/yum comps.py,1.10.4.4,1.10.4.5
- Next message: [yum-cvs] yum cli.py, 1.247, 1.248 yum-updatesd.py, 1.33, 1.34 yum.spec, 1.84, 1.85 yummain.py, 1.103, 1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv31056/yum
Modified Files:
Errors.py comps.py
Log Message:
make compsexception a subclass of YumBaseError
Index: Errors.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/Errors.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Errors.py 11 Dec 2006 18:27:13 -0000 1.12
+++ Errors.py 25 Jan 2007 19:42:11 -0000 1.13
@@ -86,3 +86,8 @@
def __init__(self, value=None):
YumBaseError.__init__(self)
self.value = value
+
+class CompsException(YumBaseError):
+ def __init__(self, value=None):
+ YumBaseError.__init__(self)
+ self.value = value
Index: comps.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/comps.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- comps.py 25 Jan 2007 18:46:45 -0000 1.14
+++ comps.py 25 Jan 2007 19:42:11 -0000 1.15
@@ -20,7 +20,7 @@
except ImportError:
import cElementTree
iterparse = cElementTree.iterparse
-import exceptions
+from Errors import CompsException
lang_attr = '{http://www.w3.org/XML/1998/namespace}lang'
@@ -34,9 +34,6 @@
def parse_number(strng):
return int(strng)
-class CompsException(exceptions.Exception):
- pass
-
class Group(object):
def __init__(self, elem=None):
self.user_visible = True
- Previous message: [yum-cvs] yum/yum comps.py,1.10.4.4,1.10.4.5
- Next message: [yum-cvs] yum cli.py, 1.247, 1.248 yum-updatesd.py, 1.33, 1.34 yum.spec, 1.84, 1.85 yummain.py, 1.103, 1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Yum-cvs-commits
mailing list