All pastes #901934 Raw Edit

hads

public diff v1 · immutable
·published 2008-02-13 01:16 UTC
rendered paste body
Index: bindings/python/MythTV/MythDB.py===================================================================--- bindings/python/MythTV/MythDB.py	(revision 15967)+++ bindings/python/MythTV/MythDB.py	(working copy)@@ -80,8 +80,8 @@ 				break  		# Overrides from command line parameters- 		try:-        	opts, args = getopt.getopt(args, '', ['dbhost=', 'user=', 'pass=', 'database='])+		try:+			opts, args = getopt.getopt(args, '', ['dbhost=', 'user=', 'pass=', 'database=']) 			for o, a in opts: 				if o == '--dbhost': 					dbconn['host'] = a@@ -91,7 +91,7 @@ 					dbconn['pass'] = a 				if o == '--database': 					dbconn['name'] = a-    	except:+		except: 			pass  		if not dbconn['host'] and not found_config: