Whoops! Remove wildmat argument from NEWGROUPS implementation
This commit is contained in:
parent
3bbc5717d9
commit
4aa222dc8f
1 changed files with 3 additions and 4 deletions
|
@ -482,7 +482,7 @@ class Session(Connection):
|
||||||
|
|
||||||
return self.end()
|
return self.end()
|
||||||
|
|
||||||
def _cmd_newgroups(self, wildmat, datestr, timestr, *args):
|
def _cmd_newgroups(self, datestr, timestr, *args):
|
||||||
gmt = False
|
gmt = False
|
||||||
|
|
||||||
if len(args) == 1:
|
if len(args) == 1:
|
||||||
|
@ -498,7 +498,6 @@ class Session(Connection):
|
||||||
self.respond(ResponseCode.NNTP_GROUPS_NEW_FOLLOW)
|
self.respond(ResponseCode.NNTP_GROUPS_NEW_FOLLOW)
|
||||||
|
|
||||||
for name in self.server.newsgroups:
|
for name in self.server.newsgroups:
|
||||||
if fnmatch.fnmatch(name, wildmat):
|
|
||||||
newsgroup = self.server.newsgroups[name]
|
newsgroup = self.server.newsgroups[name]
|
||||||
|
|
||||||
self.print_newsgroup(newsgroup, timestamp)
|
self.print_newsgroup(newsgroup, timestamp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue