search for: c1128f8

Displaying 2 results from an estimated 2 matches for "c1128f8".

Did you mean: 11288
2015 Sep 16
0
[PATCH] python: Set program name to the true name instead of 'python'.
...b47ad88334f03d5abf636f1e5 (for Perl), any Python program has the handle program name field set to 'python'. Set it to the true name (derived from sys.argv[0]). --- generator/python.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generator/python.ml b/generator/python.ml index c1128f8..1e043fc 100644 --- a/generator/python.ml +++ b/generator/python.ml @@ -671,6 +671,8 @@ logvols = g.lvs () \"\"\" +import os +import sys import libguestfsmod "; @@ -714,6 +716,10 @@ class GuestFS(object): self._o = libguestfsmod.create (flags) self._py...
2015 Sep 15
3
[PATCH 3/3] python: Allow bindings to be compiled with different version of libguestfs (RHBZ#1262983).
Patch to fix: https://bugzilla.redhat.com/show_bug.cgi?id=1262983 Note this won't help until the first two patches get backported to the stable branches, since <guestfs.h> won't define the necessary GUESTFS_HAVE_* macros. Rich.