From 428cc61138a07f99904adfdfe1c25a348f1225f0 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Fri, 8 Jan 2010 19:54:33 +0100 Subject: Do not use Python 2.6 - update src/dh_xul-ext --- src/dh_xul-ext | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/dh_xul-ext b/src/dh_xul-ext index 27ec7b3..b9a94d7 100755 --- a/src/dh_xul-ext +++ b/src/dh_xul-ext @@ -101,11 +101,11 @@ def get_all_packages(): def get_source_package_name(): source = None - with open("debian/control") as f: - for line in f: - if line.startswith("Source:"): - source = line[line.find(":")+1:].strip() - break + f = open("debian/control") + for line in f: + if line.startswith("Source:"): + source = line[line.find(":")+1:].strip() + break return source -- cgit v1.2.3