[tor-commits] [gettor/master] Update dropbox.py (add UploadError class)

ilv at torproject.org ilv at torproject.org
Tue Sep 22 23:39:13 UTC 2015


commit 6a19ed1192ff537a1c7f231f2fc3a27a391d6a73
Author: Sukhbir Singh <s3singh at uwaterloo.ca>
Date:   Sun Nov 16 18:59:17 2014 +0530

    Update dropbox.py (add UploadError class)
---
 dropbox.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/dropbox.py b/dropbox.py
index 3753b88..c9cf932 100644
--- a/dropbox.py
+++ b/dropbox.py
@@ -19,6 +19,8 @@ import ConfigParser
 import dropbox
 import gettor.core
 
+class UploadError(Exception):
+    pass
 
 def valid_format(file):
     """Check for valid bundle format





More information about the tor-commits mailing list