Ticket #2734: interacive_mode_fixes.patch
File interacive_mode_fixes.patch, 905 bytes (added by , 17 years ago) |
---|
-
mythvideo/mythvideo/scripts/find_meta.py
old new 60 60 61 61 verbose=False 62 62 63 try: 64 # For better line editing in interactive mode. Optional. 65 import readline 66 except: 67 pass 68 63 69 interactive=False 64 70 recursive=False 65 71 dbimport=False … … 593 599 if len(candidates) > 1: 594 600 595 601 print "Got multiple candidates for title search '%s'. " % title 596 print "Use the '-a' switch to choose the correct one." 602 if not interactive: 603 print "Use the '-a' or '-i' switch to choose the correct one." 597 604 for candidate in candidates: 598 605 print "%s) %s (%d)" % (candidate[0], candidate[1], candidate[2]) 599 606