diff options
author | Simon Warta <[email protected]> | 2017-07-30 16:52:36 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-07-30 17:16:37 +0200 |
commit | 7bc17bc4af92f0b639c98cdc5f59f8039275b014 (patch) | |
tree | 626c4febe0b8f696e33973b11bf44e9338534e3a /src/scripts/install.py | |
parent | 40f399c920c3516d66cbea977f1d38e55a1f7fb1 (diff) |
install.py: fix whitespace issues found by pylint
Diffstat (limited to 'src/scripts/install.py')
-rwxr-xr-x | src/scripts/install.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py index a92cd43eb..269c76c5c 100755 --- a/src/scripts/install.py +++ b/src/scripts/install.py @@ -63,7 +63,7 @@ def parse_command_line(args): return (options, args) -def makedirs(dirname, exist_ok = True): +def makedirs(dirname, exist_ok=True): try: logging.debug('Creating directory %s' % (dirname)) os.makedirs(dirname) @@ -80,12 +80,12 @@ def force_symlink(target, linkname): raise e os.symlink(target, linkname) -def main(args = None): +def main(args=None): if args is None: args = sys.argv - logging.basicConfig(stream = sys.stdout, - format = '%(levelname) 7s: %(message)s') + logging.basicConfig(stream=sys.stdout, + format='%(levelname) 7s: %(message)s') (options, args) = parse_command_line(args) @@ -172,8 +172,8 @@ def main(args = None): os.path.join(lib_dir, soname_base)) else: soname_patch = process_template('%{soname_patch}') - soname_abi = process_template('%{soname_abi}') - soname_base = process_template('%{soname_base}') + soname_abi = process_template('%{soname_abi}') + soname_base = process_template('%{soname_base}') copy_executable(os.path.join(out_dir, soname_patch), os.path.join(lib_dir, soname_patch)) |