mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
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:'
This commit is contained in:
parent
bd5922db09
commit
108a8d842f
@ -72,7 +72,7 @@ class TestMkenums(unittest.TestCase):
|
|||||||
print('Response file contains:', contents)
|
print('Response file contains:', contents)
|
||||||
f.write(contents)
|
f.write(contents)
|
||||||
f.flush()
|
f.flush()
|
||||||
return f.name
|
return f.name
|
||||||
|
|
||||||
def runMkenums(self, *args):
|
def runMkenums(self, *args):
|
||||||
if self.rspfile:
|
if self.rspfile:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user