pep8: Add compliance with rule E261 bitbucket2/view.py.

This commit is contained in:
Aditya Bansal 2017-06-04 15:07:51 +05:30 committed by Tim Abbott
parent 25bb21238f
commit 90cdebb04a
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ def get_push_tag_body(payload, change):
# type: (Dict[str, Any], Dict[str, Any]) -> Text # type: (Dict[str, Any], Dict[str, Any]) -> Text
if change.get('created'): if change.get('created'):
tag = change['new'] tag = change['new']
action = 'pushed' # type: Optional[Text] action = 'pushed' # type: Optional[Text]
elif change.get('closed'): elif change.get('closed'):
tag = change['old'] tag = change['old']
action = 'removed' action = 'removed'