public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt/files: 0001-complete-virterror-virerror-name-change.patch
@ 2013-01-31 16:03 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Goldstein (cardoe) @ 2013-01-31 16:03 UTC (permalink / raw
  To: gentoo-commits

cardoe      13/01/31 16:03:54

  Added:                0001-complete-virterror-virerror-name-change.patch
  Log:
  The 1.0.2 release had broken python bindings.
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  app-emulation/libvirt/files/0001-complete-virterror-virerror-name-change.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libvirt/files/0001-complete-virterror-virerror-name-change.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libvirt/files/0001-complete-virterror-virerror-name-change.patch?rev=1.1&content-type=text/plain

Index: 0001-complete-virterror-virerror-name-change.patch
===================================================================
From a6b8bae5a6a4752926eba409202ec061d81c6c8a Mon Sep 17 00:00:00 2001
From: Serge Hallyn <serge.hallyn@canonical.com>
Date: Wed, 30 Jan 2013 21:05:45 -0600
Subject: [PATCH] complete virterror->virerror name change

Without these two string changes in generator.py, the
virGetLastError wrapper does not get created in
/usr/share/pyshared/libvirt.py.  Noticed when running
tests with virt-install.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
---
 python/generator.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/generator.py b/python/generator.py
index 5d27f66..71ca883 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -123,7 +123,7 @@ class docParser(xml.sax.handler.ContentHandler):
                     self.function_return_field = attrs['field']
         elif tag == 'enum':
             if (attrs['file'] == "libvirt" or
-                attrs['file'] == "virterror"):
+                attrs['file'] == "virerror"):
                 enum(attrs['type'],attrs['name'],attrs['value'])
             elif attrs['file'] == "libvirt-lxc":
                 lxc_enum(attrs['type'],attrs['name'],attrs['value'])
@@ -137,7 +137,7 @@ class docParser(xml.sax.handler.ContentHandler):
             if self.function != None:
                 if (self.function_module == "libvirt" or
                     self.function_module == "virevent" or
-                    self.function_module == "virterror"):
+                    self.function_module == "virerror"):
                     function(self.function, self.function_descr,
                              self.function_return, self.function_args,
                              self.function_file, self.function_module,
-- 
1.7.12.4






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt/files: 0001-complete-virterror-virerror-name-change.patch
@ 2013-02-25  3:33 Doug Goldstein (cardoe)
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Goldstein (cardoe) @ 2013-02-25  3:33 UTC (permalink / raw
  To: gentoo-commits

cardoe      13/02/25 03:33:51

  Removed:              0001-complete-virterror-virerror-name-change.patch
  Log:
  Remove older version
  
  (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-25  3:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25  3:33 [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt/files: 0001-complete-virterror-virerror-name-change.patch Doug Goldstein (cardoe)
  -- strict thread matches above, loose matches on Subject: below --
2013-01-31 16:03 Doug Goldstein (cardoe)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox