* pygnulib/main.py (main_with_exception_handling): Catch
KeyboardInterrupts and exit with a return code of 1.
+2024-05-16 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Fix return value when exiting with Ctrl-C.
+ * pygnulib/main.py (main_with_exception_handling): Catch
+ KeyboardInterrupts and exit with a return code of 1.
+
2024-05-16 Collin Funk <collin.funk1@gmail.com>
unsetenv tests: Update module dependencies.
try: # Try to execute
with tempfile.TemporaryDirectory(prefix='glpy') as temporary_directory:
main(temporary_directory)
+ except KeyboardInterrupt:
+ sys.stderr.write('%s: *** Stop.\n' % APP['name'])
+ sys.exit(1)
except GLError as error:
errmode = 0 # gnulib-style errors
errno = error.errno