Signed-off-by: Philipp Hahn <hahn(a)univention.de>
---
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