commit 6ba11a2a1a4c31cbd10849d8776a0699e683393c Author: Sukhbir Singh s3singh@uwaterloo.ca Date: Sun Nov 16 18:55:15 2014 +0530
Update dropbox.py --- dropbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dropbox.py b/dropbox.py index 7bf60cb..3753b88 100644 --- a/dropbox.py +++ b/dropbox.py @@ -121,7 +121,7 @@ def upload_files(basedir, client): while uploader.offset < size: try: upload = uploader.upload_chunked() - except rest.ErrorResponse, e: + except dropbox.rest.ErrorResponse, e: UploadError("An error ocurred while uploading %s" % abs_file) uploader.finish(file) print "Uploading %s" % file
tor-commits@lists.torproject.org