aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/install.py12
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))