Show More
@@ -62,3 +62,6 class SignalInterrupt(KeyboardInterrupt) | |||
|
62 | 62 | |
|
63 | 63 | class SignatureError(Exception): |
|
64 | 64 | pass |
|
65 | ||
|
66 | class Abort(Exception): | |
|
67 | """Raised if a command needs to print an error and exit.""" |
@@ -333,8 +333,7 def increasingchunks(source, min=1024, m | |||
|
333 | 333 | if buf: |
|
334 | 334 | yield ''.join(buf) |
|
335 | 335 | |
|
336 | class Abort(Exception): | |
|
337 | """Raised if a command needs to print an error and exit.""" | |
|
336 | Abort = error.Abort | |
|
338 | 337 | |
|
339 | 338 | def always(fn): return True |
|
340 | 339 | def never(fn): return False |
General Comments 0
You need to be logged in to leave comments.
Login now