gentoo-full-overlay/dev-python/pry/files/pry-0.2.1-exit-status.patch

13 lines
263 B
Diff

--- pry-0.2.1/pry
+++ pry-0.2.1/pry
@@ -108,6 +108,10 @@
else:
r._run(output, options.benchmark)
output.final(r)
+ if r.allErrors():
+ sys.exit(1)
+ else:
+ sys.exit()
if __name__ == "__main__":