From: Robin Wittler Date: Tue, 9 Aug 2011 16:28:43 +0000 (+0200) Subject: add debug msg X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=90515152959ec333a6a63a427e0df4a2d330518b;p=profitbricks%2Fjenkins-build-scripts.git add debug msg --- diff --git a/build.py b/build.py index d1cd802..9f574c1 100755 --- a/build.py +++ b/build.py @@ -273,11 +273,11 @@ if __name__ == '__main__': pb_version = fh.read().rstrip() fh.close() - fh = open('debian/control') - for line in fh: + fh2 = open('debian/control') + for line in fh2: if line.startswith('Source:'): pkg_name = line.split(':')[-1].lstrip().rstrip() - fh.close() + fh2.close() if options.distribution in ('unstable', 'experimental'): daily_date = datetime.datetime.now().strftime('%Y%m%d-%H%M%S')