From: david-sarah Date: Sat, 15 May 2010 15:55:33 +0000 (-0700) Subject: sftpd.py: 'log.OPERATIONAL' should be just 'OPERATIONAL'. X-Git-Tag: trac-4400~29 X-Git-Url: https://git.rkrishnan.org/simplejson/install.html?a=commitdiff_plain;h=6ba6c97a7ab7addc58b3dc3b2d8771094c9dd169;p=tahoe-lafs%2Ftahoe-lafs.git sftpd.py: 'log.OPERATIONAL' should be just 'OPERATIONAL'. --- diff --git a/src/allmydata/frontends/sftpd.py b/src/allmydata/frontends/sftpd.py index e76a3709..826f8192 100644 --- a/src/allmydata/frontends/sftpd.py +++ b/src/allmydata/frontends/sftpd.py @@ -1227,25 +1227,25 @@ class SFTPUser(ConchUser, PrefixingLogMixin): self.convergence = convergence def getPty(self, terminal, windowSize, attrs): - self.log(".getPty(%r, %r, %r)" % (terminal, windowSize, attrs), level=log.OPERATIONAL) + self.log(".getPty(%r, %r, %r)" % (terminal, windowSize, attrs), level=OPERATIONAL) raise NotImplementedError def openShell(self, protocol): - self.log(".openShell(%r)" % (protocol,), level=log.OPERATIONAL) + self.log(".openShell(%r)" % (protocol,), level=OPERATIONAL) raise NotImplementedError def execCommand(self, protocol, cmd): - self.log(".execCommand(%r, %r)" % (protocol, cmd), level=log.OPERATIONAL) + self.log(".execCommand(%r, %r)" % (protocol, cmd), level=OPERATIONAL) raise NotImplementedError def windowChanged(self, newWindowSize): - self.log(".windowChanged(%r)" % (newWindowSize,), level=log.OPERATIONAL) + self.log(".windowChanged(%r)" % (newWindowSize,), level=OPERATIONAL) def eofReceived(): - self.log(".eofReceived()", level=log.OPERATIONAL) + self.log(".eofReceived()", level=OPERATIONAL) def closed(self): - self.log(".closed()", level=log.OPERATIONAL) + self.log(".closed()", level=OPERATIONAL) # if you have an SFTPUser, and you want something that provides ISFTPServer,