Show More
@@ -1164,7 +1164,7 b' Currently the magic system has the following functions:\\n"""' | |||||
1164 | if logfname: |
|
1164 | if logfname: | |
1165 | logfname = os.path.expanduser(logfname) |
|
1165 | logfname = os.path.expanduser(logfname) | |
1166 | rc.opts.logfile = logfname |
|
1166 | rc.opts.logfile = logfname | |
1167 | loghead = self.shell.loghead_tpl % (rc.opts,rc.args) |
|
1167 | loghead = self.shell.loghead_tpl % (sys.stdin.encoding, rc.opts, rc.args) | |
1168 | try: |
|
1168 | try: | |
1169 | started = logger.logstart(logfname,loghead,logmode, |
|
1169 | started = logger.logstart(logfname,loghead,logmode, | |
1170 | log_output,timestamp,log_raw_input) |
|
1170 | log_output,timestamp,log_raw_input) |
@@ -670,7 +670,7 b' class InteractiveShell(object,Magic):' | |||||
670 | # logstart method. |
|
670 | # logstart method. | |
671 | self.loghead_tpl = \ |
|
671 | self.loghead_tpl = \ | |
672 | """#log# Automatic Logger file. *** THIS MUST BE THE FIRST LINE *** |
|
672 | """#log# Automatic Logger file. *** THIS MUST BE THE FIRST LINE *** | |
673 | #log# DO NOT CHANGE THIS LINE OR THE TWO BELOW |
|
673 | #log# DO NOT CHANGE THIS LINE OR THE TWO BELOW -* coding: %s *- | |
674 | #log# opts = %s |
|
674 | #log# opts = %s | |
675 | #log# args = %s |
|
675 | #log# args = %s | |
676 | #log# It is safe to make manual edits below here. |
|
676 | #log# It is safe to make manual edits below here. |
General Comments 0
You need to be logged in to leave comments.
Login now