From: Brian Warner Date: Mon, 24 Mar 2008 22:51:19 +0000 (-0700) Subject: upload.py: remove spurious trailing quotes that confuse syntax-highlighting X-Git-Tag: allmydata-tahoe-1.0.0~10 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/index.php?a=commitdiff_plain;h=1869d7c29b28bfb801a6d094928e0d00f1ea166c;p=tahoe-lafs%2Ftahoe-lafs.git upload.py: remove spurious trailing quotes that confuse syntax-highlighting --- diff --git a/src/allmydata/upload.py b/src/allmydata/upload.py index 384aea2b..eed5ee70 100644 --- a/src/allmydata/upload.py +++ b/src/allmydata/upload.py @@ -1089,7 +1089,7 @@ class FileHandle(BaseUploadable): Upload the data from the filehandle. If convergence is None then a random encryption key will be used, else the plaintext will be hashed, then the hash will be hashed together with the string in the - "convergence" argument to form the encryption key." + "convergence" argument to form the encryption key. """ assert convergence is None or isinstance(convergence, str), (convergence, type(convergence)) self._filehandle = filehandle @@ -1165,7 +1165,7 @@ class FileName(FileHandle): Upload the data from the filename. If convergence is None then a random encryption key will be used, else the plaintext will be hashed, then the hash will be hashed together with the string in the - "convergence" argument to form the encryption key." + "convergence" argument to form the encryption key. """ assert convergence is None or isinstance(convergence, str), (convergence, type(convergence)) FileHandle.__init__(self, open(filename, "rb"), convergence=convergence) @@ -1179,7 +1179,7 @@ class Data(FileHandle): Upload the data from the data argument. If convergence is None then a random encryption key will be used, else the plaintext will be hashed, then the hash will be hashed together with the string in the - "convergence" argument to form the encryption key." + "convergence" argument to form the encryption key. """ assert convergence is None or isinstance(convergence, str), (convergence, type(convergence)) FileHandle.__init__(self, StringIO(data), convergence=convergence)