##// END OF EJS Templates
Don't let invalid aliases crash IPython...
Don't let invalid aliases crash IPython e.g. `ipython --foo-bar=5` would raise a SyntaxError parsing the commmand-line, because `self.config.foo-bar=5` would be evaluated. Syntax Errors on the rhs were already protected, but they could get into the lhs via the alias syntax. closes gh-886

File last commit:

r4454:5e1dd6cd
r5190:11bca294
Show More
testupload
21 lines | 576 B | text/plain | TextLexer
#!/usr/bin/env python
"""Simple upload script to push up into the testing directory a local build
"""
from __future__ import print_function
from toollib import *
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
distdir = pjoin(ipdir, 'dist')
# Load release info
execfile(pjoin(ipdir, 'IPython','core','release.py'))
# Build site addresses for file uploads
testing_site = '%s/testing/%s' % (archive, version)
cd(distdir)
# FIXME: this assumes the path *with the version number* exists on the server
sh('scp * %s' % testing_site)