aboutsummaryrefslogtreecommitdiff
path: root/buildtools/rpki-pbuilder.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-26 06:29:00 +0000
committerRob Austein <sra@hactrn.net>2015-10-26 06:29:00 +0000
commitb46deb1417dc3596e9ac9fe2fe8cc0b7f42457e7 (patch)
treeca0dc0276d1adc168bc3337ce0564c4ec4957c1b /buildtools/rpki-pbuilder.py
parent397beaf6d9900dc3b3cb612c89ebf1d57b1d16f6 (diff)
"Any programmer who fails to comply with the standard naming, formatting,
or commenting conventions should be shot. If it so happens that it is inconvenient to shoot him, then he is to be politely requested to recode his program in adherence to the above standard." -- Michael Spier, Digital Equipment Corporation svn path=/branches/tk705/; revision=6152
Diffstat (limited to 'buildtools/rpki-pbuilder.py')
-rw-r--r--buildtools/rpki-pbuilder.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/buildtools/rpki-pbuilder.py b/buildtools/rpki-pbuilder.py
index 5043c60e..32247ff8 100644
--- a/buildtools/rpki-pbuilder.py
+++ b/buildtools/rpki-pbuilder.py
@@ -4,11 +4,11 @@
#
# Copyright (C) 2014 Dragon Research Labs ("DRL")
# Portions copyright (C) 2013 Internet Systems Consortium ("ISC")
-#
+#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notices and this permission notice appear in all copies.
-#
+#
# THE SOFTWARE IS PROVIDED "AS IS" AND DRL AND ISC DISCLAIM ALL
# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DRL OR
@@ -254,10 +254,10 @@ class Release(object):
DebOverride: override.%(release)s
DscOverride: override.%(release)s
""" % dict(
- distribution = self.distribution,
- Distribution = self.distribution.capitalize(),
- architectures = " ".join(self.architectures),
- release = self.release)))
+ distribution = self.distribution,
+ Distribution = self.distribution.capitalize(),
+ architectures = " ".join(self.architectures),
+ release = self.release)))
fn = os.path.join(self.tree, "conf", "options")
if not os.path.exists(fn):
@@ -275,14 +275,14 @@ class Release(object):
with open(fn, "w") as f:
for pkg in self.backports:
f.write(dedent("""\
- %-30s Priority optional
- %-30s Section python
+ %-30s Priority optional
+ %-30s Section python
""" % (pkg, pkg)))
f.write(dedent("""\
- rpki-ca Priority extra
- rpki-ca Section net
- rpki-rp Priority extra
- rpki-rp Section net
+ rpki-ca Priority extra
+ rpki-ca Section net
+ rpki-rp Priority extra
+ rpki-rp Section net
"""))
fn = os.path.join(args.apt_tree, "rpki.%s.list" % self.release)