]> git.phdru.name Git - dotfiles.git/commitdiff
init.py: fix: restore rlcompleter
authorOleg Broytman <phd@phdru.name>
Tue, 19 Apr 2016 10:26:24 +0000 (13:26 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 19 Apr 2016 10:26:24 +0000 (13:26 +0300)
Import of rlcompleter is required for completion of attributes.

lib/python/init.py

index 2450f75a6aeb98a35cee223ac0fbc41d61119933..c0afb68ad39e4cc15ec15b7dde07e9d1d7d136ef 100644 (file)
@@ -27,6 +27,7 @@ def init():
         # https://mail.python.org/pipermail/python-list/2001-March/062888.html
 
         try:
+            import rlcompleter  # noqa: need for completion
             import readline
             initfile = os.environ.get('INPUTRC') \
                 or os.path.expanduser('~/.inputrc')