summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-29 10:09:43 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-29 10:09:43 +0200
commit47b6892500671b87aa3cb189b4fe4162771cce74 (patch)
tree24ff55d090f64a4f453e25b53a6e63001ab1c178 /python
parent41fc048c9a1938dffae9660db1cc874125c878af (diff)
downloadlibrpm-tizen-47b6892500671b87aa3cb189b4fe4162771cce74.tar.gz
librpm-tizen-47b6892500671b87aa3cb189b4fe4162771cce74.tar.bz2
librpm-tizen-47b6892500671b87aa3cb189b4fe4162771cce74.zip
Avoid building rpmdebug-py
Diffstat (limited to 'python')
-rw-r--r--python/rpmmacro-py.c1
-rw-r--r--python/rpmps-py.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/python/rpmmacro-py.c b/python/rpmmacro-py.c
index 28d5e3d05..148786298 100644
--- a/python/rpmmacro-py.c
+++ b/python/rpmmacro-py.c
@@ -6,7 +6,6 @@
#include "structmember.h"
-#include "rpmdebug-py.c"
#include "rpmmacro-py.h"
#include <rpmmacro.h>
diff --git a/python/rpmps-py.c b/python/rpmps-py.c
index 6a4523fbc..d31f42647 100644
--- a/python/rpmps-py.c
+++ b/python/rpmps-py.c
@@ -6,8 +6,6 @@
#include <rpmlib.h>
-#include "rpmdebug-py.c"
-
#include "rpmps-py.h"
#include "debug.h"
@@ -140,8 +138,6 @@ rpmps_subscript(rpmpsObject * s, PyObject * key)
int ix, i;
if (!PyInt_Check(key)) {
-if (_rpmps_debug < 0)
-fprintf(stderr, "*** rpmps_subscript(%p[%s],%p[%s])\n", s, lbl(s), key, lbl(key));
PyErr_SetString(PyExc_TypeError, "integer expected");
return NULL;
}