Download:
child 10:3e63f239a827
parent 8:12e714447f64
9:ac48bb613c6f
Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Jun 2016 23:05:22 +0800
checker: don't forget to actually raise the exception in run_ignore_1()

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
checker.py file | annotate | diff | comparison | revisions
--- a/checker.py Mon Jun 13 21:51:21 2016 +0800
+++ b/checker.py Mon Jun 13 23:05:22 2016 +0800
@@ -23,8 +23,8 @@
try:
fn(args)
except CalledProcessError as e:
- if e.returncode == 1:
- pass
+ if e.returncode != 1:
+ raise
def run(args, silent=False, ignore_1=False):