summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Maksimov <ctpeko3a@gmail.com>2014-09-24 23:11:55 +0800
committerAleksey Maksimov <ctpeko3a@gmail.com>2014-09-24 23:11:55 +0800
commit0786bfaa1250b9248cc142cc9ffd1efed09c12dd (patch)
treec7b79259cdd469e46fffddd7165058c13d2484be
parent6d7c4e59a8fc556a30cac5c8db97764d552422b5 (diff)
downloadpython-jenkinsapi-0786bfaa1250b9248cc142cc9ffd1efed09c12dd.tar.gz
python-jenkinsapi-0786bfaa1250b9248cc142cc9ffd1efed09c12dd.tar.bz2
python-jenkinsapi-0786bfaa1250b9248cc142cc9ffd1efed09c12dd.zip
Pylint fixes
-rw-r--r--jenkinsapi/custom_exceptions.py2
-rw-r--r--jenkinsapi/job.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/jenkinsapi/custom_exceptions.py b/jenkinsapi/custom_exceptions.py
index 4573cd7..66f8216 100644
--- a/jenkinsapi/custom_exceptions.py
+++ b/jenkinsapi/custom_exceptions.py
@@ -1,6 +1,6 @@
"""Module for custom_exceptions.
-Where possible we try to throw exceptions with non-generic,
+Where possible we try to throw exceptions with non-generic,
meaningful names.
"""
diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py
index ae599a7..0ecd54d 100644
--- a/jenkinsapi/job.py
+++ b/jenkinsapi/job.py
@@ -195,8 +195,7 @@ class Job(JenkinsBase, MutableJenkinsThing):
# Build require params as form fields
# and as Json.
- data = {'json': self.mk_json_from_build_parameters(
- build_params, files)}
+ data = {'json': self.mk_json_from_build_parameters(build_params, files)}
data.update(build_params)
response = self.jenkins.requester.post_and_confirm_status(