pep8 fixes for subiquitycore/view.py

This commit is contained in:
Ryan Harper 2018-05-22 11:42:22 -05:00
parent 69331754d9
commit cfc2c9d227
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ class BaseView(WidgetWrap):
height='pack'
)
PADDING = 3
# Don't expect callers to account for the padding if they pass a fixed width.
# Don't expect callers to account for the padding if
# they pass a fixed width.
if 'width' in kw:
if isinstance(kw['width'], int):
kw['width'] += 2*PADDING