##// END OF EJS Templates
Cleanup of storemagic with pyflakes.
Fernando Perez -
Show More
@@ -10,16 +10,15 b' To automatically restore stored variables at startup, add this to your'
10 c.StoreMagic.autorestore = True
10 c.StoreMagic.autorestore = True
11 """
11 """
12
12
13 from IPython.core.error import TryNext, UsageError
13 import inspect, os, sys, textwrap
14
15 from IPython.core.error import UsageError
16 from IPython.core.fakemodule import FakeModule
14 from IPython.core.magic import Magics, register_magics, line_magic
17 from IPython.core.magic import Magics, register_magics, line_magic
15 from IPython.core.plugin import Plugin
18 from IPython.core.plugin import Plugin
16 from IPython.testing.skipdoctest import skip_doctest
19 from IPython.testing.skipdoctest import skip_doctest
17 from IPython.utils import pickleshare
18 from IPython.utils.traitlets import Bool, Instance
20 from IPython.utils.traitlets import Bool, Instance
19
21
20 import inspect,pickle,os,sys,textwrap
21 from IPython.core.fakemodule import FakeModule
22
23
22
24 def restore_aliases(ip):
23 def restore_aliases(ip):
25 staliases = ip.db.get('stored_aliases', {})
24 staliases = ip.db.get('stored_aliases', {})
General Comments 0
You need to be logged in to leave comments. Login now