diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-21 01:15:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-21 01:15:46 +0300 |
commit | 0a968510bf65cf3418b98fb4682d601433ae0152 (patch) | |
tree | ca9e905b4650be3d6a900d7f6cb00752cdf4905c /source/blender/datatoc | |
parent | 87ad27ca89c3b1ce5243d6f67b42cd98ba99fd3f (diff) |
Cleanup: style, use raw strings
Diffstat (limited to 'source/blender/datatoc')
-rwxr-xr-x | source/blender/datatoc/datatoc_icon_split.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/datatoc/datatoc_icon_split.py b/source/blender/datatoc/datatoc_icon_split.py index e7cc3a71446..399d7df4d8d 100755 --- a/source/blender/datatoc/datatoc_icon_split.py +++ b/source/blender/datatoc/datatoc_icon_split.py @@ -130,7 +130,7 @@ def dice_icon_name( import re # Search for eg: DEF_ICON(BRUSH_NUDGE) --> BRUSH_NUDGE - re_icon = re.compile('^\s*DEF_ICON\(\s*([A-Za-z0-9_]+)\s*\).*$') + re_icon = re.compile(r'^\s*DEF_ICON\(\s*([A-Za-z0-9_]+)\s*\).*$') ui_icons_h = os.path.join(SOURCE_DIR, "source", "blender", "editors", "include", "UI_icons.h") with open(ui_icons_h, 'r', encoding="utf-8") as f: |