commit 08b6e81b6212a69e3ee5ddd6cec98b86a161dee7 Author: Damian Johnson atagar@torproject.org Date: Wed Oct 19 10:37:32 2016 -0700
Drop pointless advice about a python-curses package
Curses is a builtin module of python and there doesn't appear to be a 'python-curses' deb. Not entirely sure why I included this many years back (maybe it was something python 2.5 related?). Thanks to Henrik for the patch. --- nyx/__init__.py | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/nyx/__init__.py b/nyx/__init__.py index 69ede9b..740685d 100644 --- a/nyx/__init__.py +++ b/nyx/__init__.py @@ -116,13 +116,6 @@ def main(): advice = ', you can find it at https://stem.torproject.org/download.html'
print('nyx requires stem' + advice) - elif exc.message == 'No module named curses': - if distutils.spawn.find_executable('apt-get') is not None: - advice = ", try running 'sudo apt-get install python-curses'" - else: - advice = '' # not sure what to do for other platforms - - print('nyx requires curses' + advice) else: print('Unable to start nyx: %s' % exc)
tor-commits@lists.torproject.org