[PATCH libvirt-python 1/5] generator: Fix undefined variables file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Philipp Hahn <hahn@xxxxxxxxxxxxx>
---
 generator.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/generator.py b/generator.py
index 426f007..7f4ae1f 100755
--- a/generator.py
+++ b/generator.py
@@ -928,7 +928,7 @@ def buildStubs(module, api_xml):
         parser.close()
     except IOError:
         msg = sys.exc_info()[1]
-        print(file, ":", msg)
+        print(api_xml, ":", msg)
         sys.exit(1)
 
     n = len(list(funcs.keys()))
@@ -948,7 +948,7 @@ def buildStubs(module, api_xml):
         parser.close()
     except IOError:
         msg = sys.exc_info()[1]
-        print(file, ":", msg)
+        print(override_api_xml, ":", msg)
 
     if not quiet:
         # XXX: This is not right, same function already in @functions
-- 
2.20.1






[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux