From: Benjamin Drung Date: Fri, 6 Jun 2014 15:22:55 +0000 (+0200) Subject: debian_build.py: Fix typo split -> splitext. X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=50c1d1702ec6a77d9f155243568445686053ccf9;p=profitbricks%2Fjenkins-build-scripts.git debian_build.py: Fix typo split -> splitext. --- diff --git a/debian_build.py b/debian_build.py index fc7b87f..18d7b37 100755 --- a/debian_build.py +++ b/debian_build.py @@ -118,7 +118,7 @@ def upload_to_apt_repository(apt_target, apt_dist, changes_file, logger): logger.warn('%s failed.' % command) figlet('apt01 upload failed') return - (head, tail) = os.path.split(changes_file) + (head, tail) = os.path.splitext(changes_file) new_changes_file = head + '_apt01' + tail filehandle = open(new_changes_file, 'w') filehandle.write(changes)