aboutsummaryrefslogtreecommitdiffstats
path: root/debian/bin
diff options
context:
space:
mode:
authorBastian Blank <waldi@debian.org>2008-05-11 18:53:46 +0000
committerBastian Blank <waldi@debian.org>2008-05-11 18:53:46 +0000
commita85064f71668f95ee7113a3749d42fb199f3b025 (patch)
treee98f0b70519557f2ea6a921ac3caac673b63083f /debian/bin
parentb74b0fa3dd254c6580f8a46b60896018440fab1c (diff)
downloadkernel_replicant_linux-a85064f71668f95ee7113a3749d42fb199f3b025.tar.gz
kernel_replicant_linux-a85064f71668f95ee7113a3749d42fb199f3b025.tar.bz2
kernel_replicant_linux-a85064f71668f95ee7113a3749d42fb199f3b025.zip
* debian/bin/gencontrol.py: Python style update.
* debian/lib/python/debian_linux/gencontrol.py - Python style update. - Never process package entry parts in-place. svn path=/dists/trunk/linux-2.6/; revision=11358
Diffstat (limited to 'debian/bin')
-rwxr-xr-xdebian/bin/gencontrol.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index afdfe7cb8a51..f55bb4930ecb 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -167,8 +167,7 @@ class Gencontrol(Base):
image = self.templates["control.image.type-%s" % config_entry_image['type']]
#image = self.templates["control.image.type-modulesinline"]
- if not vars.has_key('desc'):
- vars['desc'] = None
+ vars.setdefault('desc', None)
packages_own.append(self.process_real_image(image[0], image_relations, config_entry_relations, vars))
packages_own.extend(self.process_packages(image[1:], vars))