From 28531e87c1f6c983bfba592b25803c15c9a0c937 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 6 Sep 2012 18:34:51 +0200 Subject: [PATCH] use better variable names --- debian_build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian_build.py b/debian_build.py index 75f7967..63ac666 100755 --- a/debian_build.py +++ b/debian_build.py @@ -470,11 +470,11 @@ if __name__ == '__main__': subprocess.check_call(cmd) # let me see the first two changelog entries: - counter=0 + line_counter = 0 for line in fileinput.input('debian/changelog'): if line.startswith(' --'): - counter+=1 - if counter<3: + line_counter += 1 + if line_counter < 3: print('debian/changelog: %s' %(line.strip())) # set pb_suite which GitBuildPackage() will turn into PB_SUITE -- 2.39.5