From 90b4b0207a6e896e21633b4cfb6a52079dfe6165 Mon Sep 17 00:00:00 2001 From: Victor Garcia Date: Wed, 30 May 2012 19:37:40 +0200 Subject: [PATCH] fixing some indentation issues --- jenkinsapi/build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkinsapi/build.py b/jenkinsapi/build.py index bffb9eb..cc1b33c 100644 --- a/jenkinsapi/build.py +++ b/jenkinsapi/build.py @@ -58,7 +58,7 @@ class Build(JenkinsBase): :return: String or None """ try: - return self.get_actions()['causes'][0]['upstreamProject'] + return self.get_actions()['causes'][0]['upstreamProject'] except KeyError: return None @@ -78,7 +78,7 @@ class Build(JenkinsBase): :return: int or None """ try: - return int(self.get_actions()['causes'][0]['upstreamBuild']) + return int(self.get_actions()['causes'][0]['upstreamBuild']) except KeyError: return None @@ -88,7 +88,7 @@ class Build(JenkinsBase): :return: String or None """ try: - return self.get_actions()['parameters'][0]['value'] + return self.get_actions()['parameters'][0]['value'] except KeyError: return None @@ -108,7 +108,7 @@ class Build(JenkinsBase): :return: int or None """ try: - return int(self.get_actions()['parameters'][1]['value']) + return int(self.get_actions()['parameters'][1]['value']) except KeyError: return None -- 2.7.4