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

Unified Diff: third_party/libadblockplus_android/clear.py

Issue 29670555: Issue 6264 - Can't prepare libadblockplus dependencies (Closed)
Patch Set: Renamed variable Created Jan. 18, 2018, 12:19 p.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
« no previous file with comments | « third_party/libadblockplus_android/BUILD.gn ('k') | third_party/libadblockplus_android/delete_dir.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libadblockplus_android/clear.py
diff --git a/third_party/libadblockplus_android/clear.py b/third_party/libadblockplus_android/clear.py
deleted file mode 100644
index 61bd0a8dfab31e037a5d44330f1c905e0ebb8a0a..0000000000000000000000000000000000000000
--- a/third_party/libadblockplus_android/clear.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import os
-import sys
-import shutil
-
-def main(argv):
- directory = argv[0]
- if os.path.exists(directory):
- #print("Deleting %s" % 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)
« no previous file with comments | « third_party/libadblockplus_android/BUILD.gn ('k') | third_party/libadblockplus_android/delete_dir.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld