First batch of updates to rename all the columns to lower case and scripts to use that kind of naming.

This commit is contained in:
Darko
2015-03-18 14:28:22 +01:00
parent 6379b12579
commit 96626bc8c2
246 changed files with 2991 additions and 2927 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ class NNTPClientConnector(socketpool.Connector, nntp.NNTPClient):
raise ValueError("Bad backend")
nntp.NNTPClient.__init__(self, self.host, self.port, username, password, timeout=timeout, use_ssl=use_ssl)
self.id = self.socket.getsockname()[1]
print(bcolors.PRIMARY + "New NNTP connection to %s established with ID #%5d" %
print(bcolors.PRIMARY + "New NNTP connection to %s established with id #%5d" %
(self.host, self.id) + bcolors.ENDC)
self._connected = True
self.xfeature_compress_gzip()
@@ -54,7 +54,7 @@ class NNTPClientConnector(socketpool.Connector, nntp.NNTPClient):
return self._life
def invalidate(self):
print(bcolors.PRIMARY + "Disconnecting from NNTP connection ID #%5d after %d seconds." %
print(bcolors.PRIMARY + "Disconnecting from NNTP connection id #%5d after %d seconds." %
(self.id, (time.time() - self._start_time)) + bcolors.ENDC)
self.close()
self._connected = False