]> xenbits.xensource.com Git - libvirt.git/commitdiff
* python/types.c: patch from Ryan Scott to remove misplaced verbosity
authorDaniel Veillard <veillard@redhat.com>
Wed, 25 Jun 2008 11:42:27 +0000 (11:42 +0000)
committerDaniel Veillard <veillard@redhat.com>
Wed, 25 Jun 2008 11:42:27 +0000 (11:42 +0000)
  when compiling in debug mode.
Daniel

ChangeLog
python/types.c

index 4df176d35be871cb9e476dbd5767f0a1dbe15278..b6a91922e2ab4e0339f249f89d11878d9cc7d483 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 25 13:40:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
+
+       * python/types.c: patch from Ryan Scott to remove misplaced verbosity
+         when compiling in debug mode.
+
 Wed Jun 25 10:52:05 CEST 2008 Daniel Veillard <veillard@redhat.com>
 
        * configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
index e4bad8aa781f0202291bdf28a1c3c85e9bdedb20..8e08d25eacabb1201666147f345aab2a1df76bb6 100644 (file)
@@ -20,10 +20,6 @@ PyObject *
 libvirt_intWrap(int val)
 {
     PyObject *ret;
-
-#ifdef DEBUG
-    printf("libvirt_intWrap: val = %d\n", val);
-#endif
     ret = PyInt_FromLong((long) val);
     return (ret);
 }
@@ -32,10 +28,6 @@ PyObject *
 libvirt_longWrap(long val)
 {
     PyObject *ret;
-
-#ifdef DEBUG
-    printf("libvirt_longWrap: val = %ld\n", val);
-#endif
     ret = PyInt_FromLong(val);
     return (ret);
 }
@@ -44,10 +36,6 @@ PyObject *
 libvirt_ulongWrap(unsigned long val)
 {
     PyObject *ret;
-
-#ifdef DEBUG
-    printf("libvirt_ulongWrap: val = %lu\n", val);
-#endif
     ret = PyLong_FromLong(val);
     return (ret);
 }
@@ -56,10 +44,6 @@ PyObject *
 libvirt_longlongWrap(long long val)
 {
     PyObject *ret;
-
-#ifdef DEBUG
-    printf("libvirt_longWrap: val = %ld\n", val);
-#endif
     ret = PyLong_FromUnsignedLongLong((unsigned long long) val);
     return (ret);
 }
@@ -73,9 +57,6 @@ libvirt_charPtrWrap(char *str)
         Py_INCREF(Py_None);
         return (Py_None);
     }
-#ifdef DEBUG
-    printf("libvirt_xmlcharPtrWrap: str = %s\n", str);
-#endif
     ret = PyString_FromString(str);
     free(str);
     return (ret);
@@ -90,9 +71,6 @@ libvirt_constcharPtrWrap(const char *str)
         Py_INCREF(Py_None);
         return (Py_None);
     }
-#ifdef DEBUG
-    printf("libvirt_xmlcharPtrWrap: str = %s\n", str);
-#endif
     ret = PyString_FromString(str);
     return (ret);
 }
@@ -106,9 +84,6 @@ libvirt_charPtrConstWrap(const char *str)
         Py_INCREF(Py_None);
         return (Py_None);
     }
-#ifdef DEBUG
-    printf("libvirt_xmlcharPtrWrap: str = %s\n", str);
-#endif
     ret = PyString_FromString(str);
     return (ret);
 }
@@ -118,9 +93,6 @@ libvirt_virDomainPtrWrap(virDomainPtr node)
 {
     PyObject *ret;
 
-#ifdef DEBUG
-    printf("libvirt_virDomainPtrWrap: node = %p\n", node);
-#endif
     if (node == NULL) {
         Py_INCREF(Py_None);
         return (Py_None);
@@ -136,9 +108,6 @@ libvirt_virNetworkPtrWrap(virNetworkPtr node)
 {
     PyObject *ret;
 
-#ifdef DEBUG
-    printf("libvirt_virNetworkPtrWrap: node = %p\n", node);
-#endif
     if (node == NULL) {
         Py_INCREF(Py_None);
         return (Py_None);
@@ -154,9 +123,6 @@ libvirt_virStoragePoolPtrWrap(virStoragePoolPtr node)
 {
     PyObject *ret;
 
-#ifdef DEBUG
-    printf("libvirt_virStoragePoolPtrWrap: node = %p\n", node);
-#endif
     if (node == NULL) {
         Py_INCREF(Py_None);
         return (Py_None);
@@ -172,9 +138,6 @@ libvirt_virStorageVolPtrWrap(virStorageVolPtr node)
 {
     PyObject *ret;
 
-#ifdef DEBUG
-    printf("libvirt_virStorageVolPtrWrap: node = %p\n", node);
-#endif
     if (node == NULL) {
         Py_INCREF(Py_None);
         return (Py_None);
@@ -190,9 +153,6 @@ libvirt_virConnectPtrWrap(virConnectPtr node)
 {
     PyObject *ret;
 
-#ifdef DEBUG
-    printf("libvirt_virConnectPtrWrap: node = %p\n", node);
-#endif
     if (node == NULL) {
         Py_INCREF(Py_None);
         return (Py_None);