chiark / gitweb /
Discard exitcode of subprocess in a better way
[stgit] / stgit / commands / log.py
index 56f7e0abfa2700dd84d5441d0dab123666b4f781..c5f71a24509061cc81804145924a40b34416f2c6 100644 (file)
@@ -141,6 +141,6 @@ def func(parser, options, args):
         raise CmdException, 'No changelog for patch "%s"' % name
 
     if options.graphical:
-        Run('gitk', log).run(exitcode = False)
+        Run('gitk', log).discard_exitcode().run()
     else:
         show_log(log, options)