Author: poeml Date: Thu Jan 30 00:03:01 2014 New Revision: 8346 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8346&view=rev Log: mb / mirrorbrain.conf: - adding to the last commit, I noticed that the comment line above had been displaced by another commit. Also, now give the references to both bug reports that dealt with passwords. Modified: trunk/mb/mb/conn.py Modified: trunk/mb/mb/conn.py URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mb/mb/conn.py?rev=8346&r1=8345&r2=8346&view=diff ============================================================================== --- trunk/mb/mb/conn.py (original) +++ trunk/mb/mb/conn.py Thu Jan 30 00:03:01 2014 _at_@ -103,8 +103,6 @@ import psycopg2 except: sys.exit('To use mb with PostgreSQL, you need the pcycopg2 Python module installed.') - # see http://mirrorbrain.org/issues/issue27 - try: config['dbpass'] except: _at_@ -122,6 +120,8 @@ except: sys.exit("Your config doesn't have a 'dbname' setting.") + # see http://mirrorbrain.org/issues/issue27 + # and http://mirrorbrain.org/issues/issue112 config['dbpass'] = config['dbpass'].rstrip() config['dbpass'] = config['dbpass'].replace(' ', r'\ ') config['dbpass'] = config['dbpass'].replace('\t', '\\\t') _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Jan 29 2014 - 23:03:03 GMT
This archive was generated by hypermail 2.3.0 : Wed Jan 29 2014 - 23:17:04 GMT