Skip to content

Commit 6f4d929

Browse files
authored
Merge pull request #29 from StackStorm-Exchange/lint
Linting fixes
2 parents 6dfb449 + e7aadeb commit 6f4d929

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## 0.12.1
4+
5+
- Minor linting change
36

47
## 0.12.0
58

actions/run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ def run(self, action, **kwargs):
1515
kwargs['transition'] = self.transition_name_to_id(**kwargs)
1616
del kwargs['transition_name']
1717
return (True, getattr(self._client, action)(**kwargs))
18-
except JIRAError as e:
19-
return (False, str(e))
20-
except AttributeError as e:
18+
except JIRAError as error:
19+
return (False, str(error))
20+
except AttributeError:
2121
return (False, 'Action "%s" is not implemented' % action)
2222

2323
def transition_name_to_id(self, issue, transition_name):

actions/search_issues.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def run(self, query, start_at=0, max_results=50,
1616

1717
for issue in issues:
1818
results.append(to_issue_dict(issue=issue,
19-
include_comments=include_comments,
20-
include_attachments=include_attachments,
21-
include_customfields=include_customfields))
19+
include_comments=include_comments,
20+
include_attachments=include_attachments,
21+
include_customfields=include_customfields))
2222

2323
return results

pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords:
66
- issues
77
- ticket management
88
- project management
9-
version: 0.12.0
9+
version: 0.12.1
1010
python_versions:
1111
- "2"
1212
- "3"

0 commit comments

Comments
 (0)