projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a1720
)
rpmdb open failing is certainly an rpm error, not TypeError
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 12:38:45 +0000
(15:38 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 12:38:45 +0000
(15:38 +0300)
python/rpmts-py.c
patch
|
blob
|
history
diff --git
a/python/rpmts-py.c
b/python/rpmts-py.c
index
f29df78
..
0012660
100644
(file)
--- a/
python/rpmts-py.c
+++ b/
python/rpmts-py.c
@@
-579,7
+579,7
@@
rpmts_Match(rpmtsObject * s, PyObject * args, PyObject * kwds)
if (rpmtsGetRdb(s->ts) == NULL) {
int rc = rpmtsOpenDB(s->ts, O_RDONLY);
if (rc || rpmtsGetRdb(s->ts) == NULL) {
- PyErr_SetString(
PyExc_Type
Error, "rpmdb open failed");
+ PyErr_SetString(
pyrpm
Error, "rpmdb open failed");
return NULL;
}
}