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:
d55c5f6
)
Remove the broken tp_print method from spec
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 23 Sep 2009 11:41:30 +0000
(14:41 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 23 Sep 2009 11:41:30 +0000
(14:41 +0300)
python/spec-py.c
patch
|
blob
|
history
diff --git
a/python/spec-py.c
b/python/spec-py.c
index
6f73aa3
..
4739d34
100644
(file)
--- a/
python/spec-py.c
+++ b/
python/spec-py.c
@@
-43,12
+43,6
@@
spec_dealloc(specObject * s)
PyObject_Del(s);
}
-static int
-spec_print(specObject * s)
-{
- return 0;
-}
-
/* XXX TODO return something sensible if spec exists but component (eg %clean)
* does not. Possibly "" or None */
@@
-188,7
+182,7
@@
PyTypeObject spec_Type = {
sizeof(specObject), /*tp_basicsize*/
0, /*tp_itemsize*/
(destructor) spec_dealloc, /*tp_dealloc*/
-
(printfunc) spec_print,
/*tp_print*/
+
0,
/*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
0, /*tp_compare*/