Discard exitcode of subprocess in a better way
[stgit] / stgit / commands / log.py
index 56f7e0a..c5f71a2 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)