A bit nicer
This commit is contained in:
parent
894ec39b1a
commit
69c1f984bc
1 changed files with 3 additions and 3 deletions
|
@ -216,10 +216,10 @@ class Session():
|
|||
|
||||
sql += " and " msgrange.clause()
|
||||
|
||||
text = self._newsgroup_summary(newsgroup)
|
||||
cr = self.db.execute(sql, (newsgroup.id))
|
||||
summary = self._newsgroup_summary(newsgroup)
|
||||
cr = self.db.execute(sql, (newsgroup.id))
|
||||
|
||||
self.respond(ResponseCode.NNTP_GROUP_LISTING, text)
|
||||
self.respond(ResponseCode.NNTP_GROUP_LISTING, summary)
|
||||
|
||||
for message in cr.each():
|
||||
self.print(str(message.id))
|
||||
|
|
Loading…
Add table
Reference in a new issue