From: Eric S. Raymond Date: Thu, 23 Feb 2012 16:21:23 +0000 (-0500) Subject: Trivial refactoring suggested by 2to3. All regression tests pass. X-Git-Tag: 2.2~68 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=41cef667f997360744d8b5a126a02dbbacac0881;p=super-star-trek.git Trivial refactoring suggested by 2to3. All regression tests pass. --- 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