[Bf-blender-cvs] [11dd7941af8] master: Cleanup: run autopep8 with max-line-length=120 (missed a file)

Campbell Barton noreply at git.blender.org
Wed Apr 20 07:56:54 CEST 2022


Commit: 11dd7941af819638d9b4dd2d46e562530656ec9d
Author: Campbell Barton
Date:   Wed Apr 20 15:55:17 2022 +1000
Branches: master
https://developer.blender.org/rB11dd7941af819638d9b4dd2d46e562530656ec9d

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