Kaydet (Commit) be9f212f authored tarafından Guido van Rossum's avatar Guido van Rossum

fix comments for list command

üst 1f97612e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment