Author: bugman Date: Fri Jul 25 13:35:34 2014 New Revision: 24742 URL: http://svn.gna.org/viewcvs/relax?rev=24742&view=rev Log: Fix for a fatal bug for the prompt UI on MS Windows. The improvements in the tab completion support for the prompt UI on Mac OS X systems (r24421) was fatal for certain Python readline modules on MS Windows, as readline.__doc__ can be None. This is now correctly handled. Modified: trunk/prompt/interpreter.py Modified: trunk/prompt/interpreter.py URL: http://svn.gna.org/viewcvs/relax/trunk/prompt/interpreter.py?rev=24742&r1=24741&r2=24742&view=diff ============================================================================== --- trunk/prompt/interpreter.py (original) +++ trunk/prompt/interpreter.py Fri Jul 25 13:35:34 2014 @@ -264,7 +264,7 @@ if dep_check.readline_module: readline.set_completer(Tab_completion(name_space=locals()).finish) readline.set_completer_delims(' \t\n`~!@#$%^&*()=+{}\\|;:",<>/?') - if 'libedit' in readline.__doc__: + if readline.__doc__ != None and 'libedit' in readline.__doc__: readline.parse_and_bind("bind ^I rl_complete") else: readline.parse_and_bind("tab: complete")