From 41cef667f997360744d8b5a126a02dbbacac0881 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 23 Feb 2012 11:21:23 -0500 Subject: [PATCH] Trivial refactoring suggested by 2to3. All regression tests pass. --- sst.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sst.py b/sst.py index 95b4722..2c65025 100755 --- 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 -- 2.31.1