Fix LIST NEWSGROUPS output format to comply to RFC 3977
This commit is contained in:
parent
7824c8e47b
commit
00264b2d16
1 changed files with 4 additions and 1 deletions
|
@ -293,7 +293,10 @@ class Session(Connection):
|
||||||
for name in self.server.newsgroups:
|
for name in self.server.newsgroups:
|
||||||
newsgroup = self.server.newsgroups[name]
|
newsgroup = self.server.newsgroups[name]
|
||||||
|
|
||||||
self.print_newsgroup(newsgroup)
|
self.print("%s %s" % (
|
||||||
|
newsgroup.name,
|
||||||
|
newsgroup.description
|
||||||
|
))
|
||||||
|
|
||||||
return self.end()
|
return self.end()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue