comparison MoinMoin/config/multiconfig.py @ 6058:5fb9d0f4af89

decode some config default values for user profiles
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 12 Sep 2014 15:34:52 +0200
parents 274a7f675261
children e92d1fd9c183
comparison
equal deleted inserted replaced
6057:e1e9c0f9d7dd 6058:5fb9d0f4af89
558 decode_names = ( 558 decode_names = (
559 'sitename', 'interwikiname', 'user_homewiki', 'logo_string', 'navi_bar', 559 'sitename', 'interwikiname', 'user_homewiki', 'logo_string', 'navi_bar',
560 'page_front_page', 'page_category_regex', 'page_dict_regex', 560 'page_front_page', 'page_category_regex', 'page_dict_regex',
561 'page_group_regex', 'page_template_regex', 'page_license_page', 561 'page_group_regex', 'page_template_regex', 'page_license_page',
562 'page_local_spelling_words', 'acl_rights_default', 562 'page_local_spelling_words', 'acl_rights_default',
563 'acl_rights_before', 'acl_rights_after', 'mail_from' 563 'acl_rights_before', 'acl_rights_after', 'mail_from',
564 'quicklinks_default', 'subscribed_pages_default',
564 ) 565 )
565 566
566 for name in decode_names: 567 for name in decode_names:
567 attr = getattr(self, name, None) 568 attr = getattr(self, name, None)
568 if attr: 569 if attr: