diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-17 12:36:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-17 12:36:17 +0400 |
commit | 0e0e528ea4f9529a549ab50a6a2da7a3187258a8 (patch) | |
tree | 665ad9cb332268f7639e00ad665bbdf8d14a7a8b /release/scripts/modules/bl_i18n_utils | |
parent | f0f398dcf3101079f4965185eb82c23c54fc6923 (diff) |
Cleanup: pep8
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils')
-rw-r--r-- | release/scripts/modules/bl_i18n_utils/bl_extract_messages.py | 4 | ||||
-rw-r--r-- | release/scripts/modules/bl_i18n_utils/utils.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py b/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py index ad2a70b84e8..8874ecceb77 100644 --- a/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py +++ b/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py @@ -343,10 +343,10 @@ def dump_rna_messages(msgs, reports, settings, verbose=False): process_msg(msgs, default_context, cls.__doc__, msgsrc, reports, check_ctxt_rna_tip, settings) # Panels' "tabs" system. - if hasattr(bl_rna, 'bl_category') and bl_rna.bl_category: + if hasattr(bl_rna, 'bl_category') and bl_rna.bl_category: process_msg(msgs, default_context, bl_rna.bl_category, msgsrc, reports, check_ctxt_rna, settings) - if hasattr(bl_rna, 'bl_label') and bl_rna.bl_label: + if hasattr(bl_rna, 'bl_label') and bl_rna.bl_label: process_msg(msgs, msgctxt, bl_rna.bl_label, msgsrc, reports, check_ctxt_rna, settings) walk_properties(cls) diff --git a/release/scripts/modules/bl_i18n_utils/utils.py b/release/scripts/modules/bl_i18n_utils/utils.py index 85977642bbb..911e1764698 100644 --- a/release/scripts/modules/bl_i18n_utils/utils.py +++ b/release/scripts/modules/bl_i18n_utils/utils.py @@ -1343,7 +1343,7 @@ class I18n: #key = self.settings.PO_HEADER_KEY #for uid, trans in self.trans.items(): #if key not in trans.msgs: - #trans.msgs[key] + #trans.msgs[key] self.unescape() def write(self, kind, langs=set()): |