From 50c1d1702ec6a77d9f155243568445686053ccf9 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Fri, 6 Jun 2014 17:22:55 +0200 Subject: [PATCH] debian_build.py: Fix typo split -> splitext. --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5