From: salimfadhley Date: Fri, 14 Jun 2013 22:35:16 +0000 (+0100) Subject: correct the name of the downloady thing X-Git-Tag: v0.2.23~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b85dbb8191deae8c5e86ffabe1e5c82a62ab544a;p=tools%2Fpython-jenkinsapi.git correct the name of the downloady thing --- diff --git a/jenkinsapi_utils/jenkins_launcher.py b/jenkinsapi_utils/jenkins_launcher.py index 21eb231..3b3c341 100644 --- a/jenkinsapi_utils/jenkins_launcher.py +++ b/jenkinsapi_utils/jenkins_launcher.py @@ -58,7 +58,7 @@ class JenkinsLancher(object): with io.open(self.war_path, 'wb') as war_file: log.info("Downloading the Jenkins WAR file") war_response = requests.get(self.JENKINS_WAR_URL) - war_file.write(war_response.read()) + war_file.write(war_response.text) log.info('Done!') os.chdir(self.war_directory)