[Bf-blender-cvs] [812901b2818] draw-deferred-compilation-experiment: Cleanup: run autopep8 with max-line-length=120 (missed a file)

Campbell Barton noreply at git.blender.org
Thu Apr 21 11:14:10 CEST 2022


Commit: 812901b2818a72b558d45b6062d0073881adf697
Author: Campbell Barton
Date:   Wed Apr 20 15:55:17 2022 +1000
Branches: draw-deferred-compilation-experiment
https://developer.blender.org/rB812901b2818a72b558d45b6062d0073881adf697

Cleanup: run autopep8 with max-line-length=120 (missed a file)

===================================================================

M	release/scripts/modules/bl_i18n_utils/settings.py

===================================================================

diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py
index a51c48ad5d1..514ff83e001 100644
--- a/release/scripts/modules/bl_i18n_utils/settings.py
+++ b/release/scripts/modules/bl_i18n_utils/settings.py
@@ -610,7 +610,10 @@ class I18nSettings:
     def to_json(self):
         # Only save the diff from default i18n_settings!
         glob = globals()
-        export_dict = {uid: val for uid, val in self.__dict__.items() if _check_valid_data(uid, val) and glob.get(uid) != val}
+        export_dict = {
+            uid: val for uid, val in self.__dict__.items()
+            if _check_valid_data(uid, val) and glob.get(uid) != val
+        }
         return json.dumps(export_dict)
 
     def load(self, fname, reset=False):



More information about the Bf-blender-cvs mailing list