From a8b62e090ec73fb3efbe012add9d7b00ae543fec Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 24 Apr 2012 16:18:21 +0300 Subject: PEP8 double-lining. --- node/prepare_build_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'node') diff --git a/node/prepare_build_config.py b/node/prepare_build_config.py index 5b05aaa..1dd7f7e 100755 --- a/node/prepare_build_config.py +++ b/node/prepare_build_config.py @@ -16,6 +16,7 @@ BUILD_CONFIG_FILE = "/var/run/build-tools/build-config" class BuildConfigMismatchException(Exception): pass + def shell_unquote(s): # Primitive implementation, but we didn't really advertize # support for shell quoting, and I never saw it used @@ -27,6 +28,7 @@ def shell_unquote(s): return s[1:-1] return s + def get_slave_type(): slave_type = "" try: @@ -37,6 +39,7 @@ def get_slave_type(): pass return slave_type + def validate_config(config, slave_type): """Validate various constraints on the config params and overall environment.""" @@ -89,6 +92,7 @@ def convert_config_to_shell(config_text, out_filename): out.close() return config + def main(config_in, is_base64): if is_base64: config_in = base64.b64decode(config_in) @@ -106,4 +110,3 @@ if __name__ == "__main__": if len(args) != 1: optparser.error("Wrong number of arguments") main(args[0], options.base64) - -- cgit v1.2.3