diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-08 12:09:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-08 12:09:37 +0400 |
commit | 4fc6ef1cf57a48626cbfa7fd9cc09de9bec29f92 (patch) | |
tree | 6e1c9f9381d5a6a8027e265ddb56ab909cc1b99c /release/scripts/modules/bpy_types.py | |
parent | c1e475e527c49ed1a355472f560ae43a27af8f15 (diff) |
style cleanup: pep8 some C/style
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 6f921868ccc..131bb8ee77e 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -671,7 +671,9 @@ class Header(StructRNA, _GenericUI, metaclass=RNAMeta): class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): __slots__ = () - def path_menu(self, searchpaths, operator, props_default={}, filter_ext=None): + def path_menu(self, searchpaths, operator, + props_default={}, filter_ext=None): + layout = self.layout # hard coded to set the operators 'filepath' to the filename. |