Author: damoxc

Revision: 4927

Log:
        raise the exception since if we haven't been able to read the file 
there's not point in continuing

Diff:
Modified: trunk/deluge/ui/common.py
===================================================================
--- trunk/deluge/ui/common.py   2009-03-23 22:49:31 UTC (rev 4926)
+++ trunk/deluge/ui/common.py   2009-03-23 23:16:12 UTC (rev 4927)
@@ -169,6 +169,7 @@
         metadata = bencode.bdecode(open(filename, "rb").read())
     except Exception, e:
         log.warning("Unable to open %s: %s", filename, e)
+        raise e
 
     info_hash = sha(bencode.bencode(metadata["info"])).hexdigest()
 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to