correct the name of the downloady thing
authorsalimfadhley <sal@stodge.org>
Fri, 14 Jun 2013 22:35:16 +0000 (23:35 +0100)
committersalimfadhley <sal@stodge.org>
Fri, 14 Jun 2013 22:35:16 +0000 (23:35 +0100)
jenkinsapi_utils/jenkins_launcher.py

index 21eb231..3b3c341 100644 (file)
@@ -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)