From 6ba6c97a7ab7addc58b3dc3b2d8771094c9dd169 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Sat, 15 May 2010 08:55:33 -0700 Subject: [PATCH] sftpd.py: 'log.OPERATIONAL' should be just 'OPERATIONAL'. --- src/allmydata/frontends/sftpd.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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, -- 2.45.2