Author: poeml Date: Fri Sep 17 16:06:45 2010 New Revision: 8130 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8130&view=rev Log: mb edit: - properly ignore the trailing space after the colon in the editing template, which is needed for issue #30 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=8130&r1=8129&r2=8130&view=diff ============================================================================== --- trunk/mb/mb/conn.py (original) +++ trunk/mb/mb/conn.py Fri Sep 17 16:06:45 2010 _at_@ -251,7 +251,7 @@ new_attrs = dict() for a in mb.conn.server_editable_attrs: - m = re.search(r'^%s *: (.*)' % a, + m = re.search(r'^%s *: *(.*)' % a, s, re.MULTILINE) if m: if m.group(1) != 'None': _______________________________________________ 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 Fri Sep 17 2010 - 14:06:46 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT