]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
SFTP: avoid logging all data passed to callbacks.
authordavid-sarah <david-sarah@jacaranda.org>
Wed, 19 May 2010 00:06:51 +0000 (17:06 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Wed, 19 May 2010 00:06:51 +0000 (17:06 -0700)
src/allmydata/frontends/sftpd.py

index 46211f8dd31114de371dcd219828f71cb4914521..08f2ae039eea6ca4e9fc609ec56443c5cf2eaf27 100644 (file)
@@ -62,7 +62,7 @@ if noisy:
         s = traceback.format_stack()
         def _cb(res):
             try:
-                if noisy: logmsg("CALLBACK %r %r" % (d, res), level=NOISY)
+                if noisy: logmsg("CALLBACK %r" % (d,), level=NOISY)
                 d.callback(res)
             except:  # pragma: no cover
                 logerr("Failed to callback %r with %r\n"