jenkins-bot has submitted this change and it was merged.
Change subject: Bug 65089: add 'shell' script ......................................................................
Bug 65089: add 'shell' script
Change-Id: I5f021318a962cfe7815dfc2a71823664061254db --- A scripts/shell.py 1 file changed, 10 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/shell.py b/scripts/shell.py new file mode 100644 index 0000000..2af0394 --- /dev/null +++ b/scripts/shell.py @@ -0,0 +1,10 @@ +""" +Spawns an interactive Python shell. + +Usage: + python pwb.py shell +""" + +if __name__ == "__main__": + import code + code.interact("""Welcome to the Pywikibot interactive shell!""")
pywikibot-commits@lists.wikimedia.org