From eafc9b211a61550c36d4be7b445fb22e5c54bafb Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 6 Sep 2019 20:34:47 +0200 Subject: [PATCH] FEM: utils, use snake case for variables too --- src/Mod/Fem/femtools/femutils.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Mod/Fem/femtools/femutils.py b/src/Mod/Fem/femtools/femutils.py index 18c854b7c9..2d7a7e0392 100644 --- a/src/Mod/Fem/femtools/femutils.py +++ b/src/Mod/Fem/femtools/femutils.py @@ -165,21 +165,21 @@ def get_temp_dir(obj): def get_beside_dir(obj): base = get_beside_base(obj) - specificPath = os.path.join(base, obj.Label) - specificPath = getUniquePath(specificPath) - if not os.path.isdir(specificPath): - os.makedirs(specificPath) - return specificPath + specific_path = os.path.join(base, obj.Label) + specific_path = getUniquePath(specific_path) + if not os.path.isdir(specific_path): + os.makedirs(specific_path) + return specific_path def get_custom_dir(obj): base = get_custom_base(obj) - specificPath = os.path.join( + specific_path = os.path.join( base, obj.Document.Name, obj.Label) - specificPath = getUniquePath(specificPath) - if not os.path.isdir(specificPath): - os.makedirs(specificPath) - return specificPath + specific_path = getUniquePath(specific_path) + if not os.path.isdir(specific_path): + os.makedirs(specific_path) + return specific_path def get_beside_base(obj):