]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_urls.py
Robots no longer have one global temporary file - there are at least two
[bookmarks_db.git] / check_urls.py
index c3e81b876cd7c811d7a807101fe3d51aa85d0f15..f75cb16cc20f47ae769ee6775763e27a1293e9a9 100755 (executable)
@@ -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()