##// END OF EJS Templates
Fix empty autosuggestions bugging out the end key...
Fix empty autosuggestions bugging out the end key The `nc.end_of_line(event)` line was never triggered. During writing this, the `Suggestion` class from prompt-toolkit has no `__bool__` implemented, which meant its objects always evaluate to `True`, even if `b.suggestion.text == ''`. The above resulted in the end key being unusable after an autosuggestion has been accepted by the user.

File last commit:

r5731:a1ccd554
r27614:bc12e6dc
Show More
testupload
22 lines | 618 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)
# Create remote path if it doesn't exist.
sh('ssh %s "mkdir -p %s/testing/%s" ' % (archive_user, archive_dir, version))
sh('scp * %s' % testing_site)