Fix some pep8 violations I had introduced.
authorSalim Fadhley <sal@stodge.org>
Sat, 2 Aug 2014 23:16:13 +0000 (00:16 +0100)
committerSalim Fadhley <sal@stodge.org>
Sat, 2 Aug 2014 23:16:13 +0000 (00:16 +0100)
jenkinsapi/jenkinsbase.py
jenkinsapi/job.py

index 605bba867bbfbed5274f6d078520ec786b9c0b09..ddd4d92a37398f35107fd9ebea6229e6fad3de23 100644 (file)
@@ -10,6 +10,7 @@ from jenkinsapi.custom_exceptions import JenkinsAPIException
 
 
 class JenkinsBase(object):
+
     """
     This appears to be the base object that all other jenkins objects are inherited from
     """
@@ -33,7 +34,8 @@ class JenkinsBase(object):
             self.poll()
 
     def get_jenkins_obj(self):
-        raise NotImplementedError('Please implement this method on %s' % self.__class__.__name__)
+        raise NotImplementedError(
+            'Please implement this method on %s' % self.__class__.__name__)
 
     def __eq__(self, other):
         """
@@ -60,7 +62,6 @@ class JenkinsBase(object):
     def _poll(self):
         url = self.python_api_url(self.baseurl)
         return self.get_data(url)
-        
 
     def get_data(self, url, params=None):
         requester = self.get_jenkins_obj().requester
index 87242169d9e8e1efb51cb4dc633fd187a63aa0cb..c3b9e9fe4bda16574d07a5bd8a8d64d5c7481a64 100644 (file)
@@ -200,7 +200,7 @@ class Job(JenkinsBase, MutableJenkinsThing):
 
         queue_url = response.headers['location']
         qi = QueueItem(queue_url, self.jenkins)
-        
+
         if block:
             qi.block_until_complete(delay=10)
         return qi