fix comments for list command

This commit is contained in:
Guido van Rossum 1995-01-10 10:35:55 +00:00
parent 1f97612e64
commit be9f212f7e
1 changed files with 2 additions and 2 deletions

View File

@ -170,12 +170,12 @@ class NNTP:
# Process a LIST command. Return:
# - resp: server response if succesful
# - list: list of (group, first, last, flag) (strings)
# - list: list of (group, last, first, flag) (strings)
def list(self):
resp, list = self.longcmd('LIST')
for i in range(len(list)):
# Parse lines into "group first last flag"
# Parse lines into "group last first flag"
list[i] = string.split(list[i])
return resp, list