##// END OF EJS Templates
Merge pull request #2102 from RuiPereira/fixlog...
Merge pull request #2102 from RuiPereira/fixlog Fix logging on interactive shell. Add a missing string format code in `init_logs()` and move `init_logstart()` after `init_magics()`, to fix dependency issues. Fixes the case where a log file is given in `ipython_config.py`, eg: ```python # Start logging to the given file in append mode. import os from time import strftime f = os.path.join(c.TerminalIPythonApp.ipython_dir, strftime('%Y-%m-%d')+".py") c.TerminalInteractiveShell.logappend = f ``` which completely breaks in current `master` code.

File last commit:

r2058:7e8fc59a
r7820:56d2be52 merge
Show More
irunner
9 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
"""Thin wrapper around the IPython irunner module.
Run with --help for details, or see the irunner source."""
from IPython.lib import irunner
irunner.main()