Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: third_party/libadblockplus/delete_dir.py

Issue 29674558: Issue 6286 - Remove common scripts duplicating (Closed)
Patch Set: Created Jan. 19, 2018, 8:03 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libadblockplus/delete_dir.py
diff --git a/third_party/libadblockplus/delete_dir.py b/third_party/libadblockplus/delete_dir.py
deleted file mode 100644
index a349a6aa1e272533cd0d8222a2d931645c339e19..0000000000000000000000000000000000000000
--- a/third_party/libadblockplus/delete_dir.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import os
-import sys
-import shutil
-
-
-def main(argv):
- directory = argv[0]
- if os.path.exists(directory):
- shutil.rmtree(directory)
-
- return 0
-
-
-if '__main__' == __name__:
- try:
- sys.exit(main(sys.argv[1:]))
- except KeyboardInterrupt:
- sys.stderr.write('interrupted\n')
- sys.exit(1)

Powered by Google App Engine
This is Rietveld