mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02: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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user