projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
564f1cb
)
Type mismatch is TypeError, not rpm.error
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 12:22:12 +0000
(15:22 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 12:22:12 +0000
(15:22 +0300)
python/rpmmodule.c
patch
|
blob
|
history
diff --git
a/python/rpmmodule.c
b/python/rpmmodule.c
index
980aee0
..
65de3b0
100644
(file)
--- a/
python/rpmmodule.c
+++ b/
python/rpmmodule.c
@@
-64,7
+64,7
@@
static PyObject * setLogFile (PyObject * self, PyObject * args, PyObject *kwds)
if (fop) {
if (!PyFile_Check(fop)) {
- PyErr_SetString(
pyrpm
Error, "requires file object");
+ PyErr_SetString(
PyExc_Type
Error, "requires file object");
return NULL;
}
fp = PyFile_AsFile(fop);