X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.py;h=ebcf75f8a297f9575b8889f47dfc9e0931a2016d;hp=f3924cba3bda82f72d4b622a48544d3d551979d0;hb=0834edf62525c7f221c0949cdc3ec041a88dba29;hpb=a4c88eb2f6ea4d8e82505e84e77544b86745fd8f diff --git a/src/sst.py b/src/sst.py index f3924cb..ebcf75f 100644 --- a/src/sst.py +++ b/src/sst.py @@ -11,7 +11,7 @@ Stas Sergeev, and Eric S. Raymond. See the doc/HACKING file in the distribution for designers notes and advice ion how to modify (and how not to modify!) this code. """ -import os, sys, math, curses, time, readline, cPickle, random, copy, gettext +import os, sys, math, curses, time, readline, cPickle, random, copy, gettext, getpass SSTDOC = "/usr/share/doc/sst/sst.doc" DOC_NAME = "sst.doc" @@ -4015,7 +4015,7 @@ def timwrp(): # Likewise, if in the original time the Galileo was abandoned, but # was on ship earlier, it would have vanished -- let's restore it. if game.iscraft == "offship" and not gotit and game.damage[DSHUTTL] >= 0.0: - prout(_("Checkov- \"Security reports the Galileo has reappeared in the dock!\"")) + prout(_("Chekov- \"Security reports the Galileo has reappeared in the dock!\"")) game.iscraft = "onship" # There used to be code to do the actual reconstrction here, # but the starchart is now part of the snapshotted galaxy state. @@ -6240,7 +6240,7 @@ if __name__ == '__main__': logfp.write("# seed %s\n" % seed) logfp.write("# options %s\n" % " ".join(arguments)) logfp.write("# recorded by %s@%s on %s\n" % \ - (os.getenv("LOGNAME"),socket.gethostname(),time.ctime())) + (getpass.getuser(),socket.gethostname(),time.ctime())) random.seed(seed) scanner = sstscanner() map(scanner.append, arguments)