Trivial refactoring suggested by 2to3. All regression tests pass.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 23 Feb 2012 16:21:23 +0000 (11:21 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 23 Feb 2012 16:21:23 +0000 (11:21 -0500)
sst.py

diff --git a/sst.py b/sst.py
index 95b4722494b853fa58e1ba45c39fdcb69a46f376..2c65025580ed3b123bca43bd909a44b97b977802 100755 (executable)
--- a/sst.py
+++ b/sst.py
@@ -6423,7 +6423,8 @@ if __name__ == '__main__':
                     (getpass.getuser(),socket.gethostname(),time.ctime()))
         random.seed(seed)
         scanner = sstscanner()
-        map(scanner.append, arguments)
+        for arg in arguments:
+            scanner.append(arg)
         try:
             iostart()
             while True: # Play a game