| Index: third_party/libadblockplus_common/delete_dir.py |
| diff --git a/third_party/libadblockplus_common/delete_dir.py b/third_party/libadblockplus_common/delete_dir.py |
| index a349a6aa1e272533cd0d8222a2d931645c339e19..842ea8b0f92eab4158f8d2597c22c91f4dd75639 100644 |
| --- a/third_party/libadblockplus_common/delete_dir.py |
| +++ b/third_party/libadblockplus_common/delete_dir.py |
| @@ -8,12 +8,9 @@ def main(argv): |
| if os.path.exists(directory): |
| shutil.rmtree(directory) |
| - return 0 |
| - |
| -if '__main__' == __name__: |
| +if __name__ == '__main__': |
| try: |
| - sys.exit(main(sys.argv[1:])) |
| + main(sys.argv[1:]) |
| except KeyboardInterrupt: |
| - sys.stderr.write('interrupted\n') |
| - sys.exit(1) |
| + sys.exit('interrupted') |