[glib/fix-mkenums-genmarshal-test-windows: 2/3] gobject/tests/mkenums.py: Fix _write_rspfile()
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/fix-mkenums-genmarshal-test-windows: 2/3] gobject/tests/mkenums.py: Fix _write_rspfile()
- Date: Mon, 24 Jun 2019 15:55:47 +0000 (UTC)
commit d36b63438befa349ed491710be82647c0940e2f3
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Jun 24 23:48:37 2019 +0800
gobject/tests/mkenums.py: Fix _write_rspfile()
The 'return f.name' should be in the same level as the body of
'with tempfile.NamedTemporaryFile(...) as f:'
gobject/tests/mkenums.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/tests/mkenums.py b/gobject/tests/mkenums.py
index 9b4632497..84c1aa580 100644
--- a/gobject/tests/mkenums.py
+++ b/gobject/tests/mkenums.py
@@ -72,7 +72,7 @@ class TestMkenums(unittest.TestCase):
print('Response file contains:', contents)
f.write(contents)
f.flush()
- return f.name
+ return f.name
def runMkenums(self, *args):
if self.rspfile:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]