Commit 9ebcf6a7 authored by Guido van Rossum's avatar Guido van Rossum

Two more trivial fixes.

parent bea53ada
......@@ -50,7 +50,7 @@ class GroupDatabaseTestCase(unittest.TestCase):
bynames[n] = g
bygids[g] = n
allnames = bynames.keys()
allnames = list(bynames.keys())
namei = 0
fakename = allnames[namei]
while fakename in bynames:
......
......@@ -55,7 +55,7 @@ class PwdTest(unittest.TestCase):
bynames[n] = u
byuids[u] = n
allnames = bynames.keys()
allnames = list(bynames.keys())
namei = 0
fakename = allnames[namei]
while fakename in bynames:
......
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