From: Brian Warner Date: Tue, 15 Jan 2008 04:27:02 +0000 (-0700) Subject: encode: actually define the UploadAborted exception X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=7bb930787143b7501f87e7be73918b5ea8d1112c;p=tahoe-lafs%2Ftahoe-lafs.git encode: actually define the UploadAborted exception --- diff --git a/src/allmydata/encode.py b/src/allmydata/encode.py index fb35bd72..ece95d9d 100644 --- a/src/allmydata/encode.py +++ b/src/allmydata/encode.py @@ -61,6 +61,9 @@ hash tree is put into the URI. class NotEnoughPeersError(Exception): pass +class UploadAborted(Exception): + pass + KiB=1024 MiB=1024*KiB GiB=1024*MiB