aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-03 10:51:11 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-06 19:01:49 +0100
commitd1559674ad3364dbee6b7850803c738feb9f4a93 (patch)
treed69146fadaaeec434ec095866191e1c6431f5218 /recipes-extended
parent7f9913e1fbd5f0f567ff5eeebc25b3677b73d7b4 (diff)
downloadmeta-baryon-d1559674ad3364dbee6b7850803c738feb9f4a93.tar.gz
meta-baryon-d1559674ad3364dbee6b7850803c738feb9f4a93.tar.bz2
meta-baryon-d1559674ad3364dbee6b7850803c738feb9f4a93.zip
Fix up python function whitespacing
Use four spaces for all python functions. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/webmin/webmin_1.570.bb22
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-extended/webmin/webmin_1.570.bb b/recipes-extended/webmin/webmin_1.570.bb
index c09bbac..cf52030 100644
--- a/recipes-extended/webmin/webmin_1.570.bb
+++ b/recipes-extended/webmin/webmin_1.570.bb
@@ -123,17 +123,17 @@ RRECOMMENDS_webmin-module-fdisk = "parted"
RRECOMMENDS_webmin-module-lvm = "lvm2"
python populate_packages_prepend() {
- import os, os.path
-
- wadir = bb.data.expand('${libexecdir}/webmin', d)
- wadir_image = bb.data.expand('${D}', d) + wadir
- modules = []
- for mod in os.listdir(wadir_image):
- modinfo = os.path.join(wadir_image, mod, "module.info")
- if os.path.exists(modinfo):
- modules.append(mod)
-
- do_split_packages(d, wadir, '^(%s)$' % "|".join(modules), 'webmin-module-%s', 'Webmin module for %s', allow_dirs=True, prepend=True)
+ import os, os.path
+
+ wadir = bb.data.expand('${libexecdir}/webmin', d)
+ wadir_image = bb.data.expand('${D}', d) + wadir
+ modules = []
+ for mod in os.listdir(wadir_image):
+ modinfo = os.path.join(wadir_image, mod, "module.info")
+ if os.path.exists(modinfo):
+ modules.append(mod)
+
+ do_split_packages(d, wadir, '^(%s)$' % "|".join(modules), 'webmin-module-%s', 'Webmin module for %s', allow_dirs=True, prepend=True)
}
# Time-savers