mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
lp-shell: clear argv for ipython < 0.11
This commit is contained in:
parent
a8965d486d
commit
8e8a5d7e52
2
lp-shell
2
lp-shell
@ -80,7 +80,7 @@ def main():
|
||||
# pylint does not handle nested try-except, disable import error
|
||||
# pylint: disable-msg=E0611
|
||||
from IPython.Shell import IPShellEmbed
|
||||
sh = IPShellEmbed(user_ns={'lp': launchpad})
|
||||
sh = IPShellEmbed(argv=[], user_ns={'lp': launchpad})
|
||||
sh.set_banner(sh.IP.BANNER + '\n' + banner)
|
||||
sh.excepthook = sys.__excepthook__
|
||||
except ImportError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user