X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=check_urls.py;h=f75cb16cc20f47ae769ee6775763e27a1293e9a9;hb=909520d4a6662f80532e347c5a633201a4234e16;hp=c3e81b876cd7c811d7a807101fe3d51aa85d0f15;hpb=2b55be0b7b45c1b841c57856911f708e3962491b;p=bookmarks_db.git diff --git a/check_urls.py b/check_urls.py index c3e81b8..f75cb16 100755 --- a/check_urls.py +++ b/check_urls.py @@ -7,7 +7,6 @@ import sys, os -tempfname = "check_urls.tmp" def run(): @@ -63,7 +62,7 @@ def run(): storage = storage() from robots import robot - robot = robot(tempfname, log) + robot = robot(log) if report_stats: sys.stdout.write("Loading %s: " % storage.filename) @@ -153,11 +152,6 @@ def run(): log("check_urls finished ok") log.close() - try: - os.unlink(tempfname) - except os.error: - pass - if __name__ == '__main__': run()