summaryrefslogtreecommitdiff
path: root/python/rpmmodule.c
diff options
context:
space:
mode:
authormsw <devnull@localhost>2000-06-13 20:15:35 +0000
committermsw <devnull@localhost>2000-06-13 20:15:35 +0000
commite8ea93373b11fae48a875f4bb06e2105a53e441f (patch)
tree94437019b13a6ed47213f81ba54ae3bbecf1590c /python/rpmmodule.c
parentc61fac02fcc0a9d5ecf446e993f972026d5efb27 (diff)
downloadrpm-e8ea93373b11fae48a875f4bb06e2105a53e441f.tar.gz
rpm-e8ea93373b11fae48a875f4bb06e2105a53e441f.tar.bz2
rpm-e8ea93373b11fae48a875f4bb06e2105a53e441f.zip
link against rpmio, disable Fopen
CVS patchset: 3842 CVS date: 2000/06/13 20:15:35
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r--python/rpmmodule.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index d7238f66d..3d7b6cd52 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -74,7 +74,7 @@ static PyObject * errorString (PyObject * self, PyObject * args);
static PyObject * versionCompare (PyObject * self, PyObject * args);
static PyObject * labelCompare (PyObject * self, PyObject * args);
static PyObject * rebuildDB (PyObject * self, PyObject * args);
-static PyObject * doFopen(PyObject * self, PyObject * args);
+/* static PyObject * doFopen(PyObject * self, PyObject * args); */
/* transaction set functions */
static PyObject * rpmtransCreate(PyObject * self, PyObject * args);
@@ -144,7 +144,7 @@ static PyMethodDef rpmModuleMethods[] = {
{ "errorString", (PyCFunction) errorString, METH_VARARGS, NULL },
{ "versionCompare", (PyCFunction) versionCompare, METH_VARARGS, NULL },
{ "labelCompare", (PyCFunction) labelCompare, METH_VARARGS, NULL },
- { "Fopen", (PyCFunction) doFopen, METH_VARARGS, NULL },
+/* { "Fopen", (PyCFunction) doFopen, METH_VARARGS, NULL }, */
{ NULL }
} ;
@@ -1819,7 +1819,7 @@ static int closeCallback(FILE * f) {
}
return 0;
}
-
+/* disable
static PyObject * doFopen(PyObject * self, PyObject * args) {
char * path, * mode;
FDlist *node;
@@ -1867,4 +1867,5 @@ static PyObject * doFopen(PyObject * self, PyObject * args) {
return PyFile_FromFile (node->f, path, mode, closeCallback);
}
+*/