Commits

dan mackinlay  committed 4bdd5c9

remove "trasher" dependency

  • Participants
  • Parent commits 01f83c4

Comments (0)

Files changed (2)

 
 install_requires = [
     "mechanize",
-    "nose",     #this should be made optional for end-users
-    "trasher",  #this should be made optional
-    "openmeta", #this should be made optional
+    "nose",     #TODO: this should be made optional for end-users
+    "openmeta", #TODO: this should be made optional
 ]
 
 

File src/citeulike_api/citeulike_api.py

 import os.path
 import hashlib
 import openmeta
-from trasher import trash
 import glob
 
 def sha1_digest(userfiles):
         
         for unknown_attachment in (all_attachments-known_attachments):
             print "unknown attachment '%s'" % unknown_attachment
-            trash(os.path.abspath(unknown_attachment))
+            os.remove(os.path.abspath(unknown_attachment))