[Libguestfs] [PATCH] nbdkit: Talk about Python in the Python plugin

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Sep 26 15:14:37 UTC 2016


diff -r 3decebe747cb -r fc247aa26d12 plugins/python/python.c
--- a/plugins/python/python.c	Sat Sep 24 14:46:25 2016 +0200
+++ b/plugins/python/python.c	Sat Sep 24 15:03:05 2016 +0200
@@ -437,7 +437,7 @@
     Py_DECREF (r);
     return ret;
   }
-  /* No Perl can_write callback, but there's a Perl pwrite callback
+  /* No Python can_write callback, but there's a Python pwrite callback
    * defined, so return 1.  (In C modules, nbdkit would do this).
    */
   else if (callback_defined ("pwrite", NULL))
@@ -470,7 +470,7 @@
     Py_DECREF (r);
     return ret;
   }
-  /* No Perl can_flush callback, but there's a Perl flush callback
+  /* No Python can_flush callback, but there's a Python flush callback
    * defined, so return 1.  (In C modules, nbdkit would do this).
    */
   else if (callback_defined ("flush", NULL))
@@ -531,7 +531,7 @@
     Py_DECREF (r);
     return ret;
   }
-  /* No Perl can_trim callback, but there's a Perl trim callback
+  /* No Python can_trim callback, but there's a Python trim callback
    * defined, so return 1.  (In C modules, nbdkit would do this).
    */
   else if (callback_defined ("trim", NULL))




More information about the Libguestfs mailing list