aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/yelphelper.py
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-12-31 19:50:15 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-01 12:02:05 -0500
commitf0b30baa39180a1047da362eb1411157228d18b7 (patch)
tree1fa609b6ac6102fc841f593ea5c6338578d78fd0 /mesonbuild/scripts/yelphelper.py
parent15629d2fae237f71e4c9d67b519e7ef70e9eba78 (diff)
downloadmeson-f0b30baa39180a1047da362eb1411157228d18b7.zip
meson-f0b30baa39180a1047da362eb1411157228d18b7.tar.gz
meson-f0b30baa39180a1047da362eb1411157228d18b7.tar.bz2
style: fix E225 violations
E225: missing whitespace around operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'mesonbuild/scripts/yelphelper.py')
-rw-r--r--mesonbuild/scripts/yelphelper.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/scripts/yelphelper.py b/mesonbuild/scripts/yelphelper.py
index 76366a4..e5b3b11 100644
--- a/mesonbuild/scripts/yelphelper.py
+++ b/mesonbuild/scripts/yelphelper.py
@@ -65,7 +65,7 @@ def install_help(srcdir, blddir, sources, media, langs, install_dir, destdir, pr
for source in sources:
infile = os.path.join(srcdir if lang == 'C' else blddir, lang, source)
outfile = os.path.join(indir, source)
- mlog.log('Installing %s to %s.' %(infile, outfile))
+ mlog.log('Installing %s to %s.' % (infile, outfile))
shutil.copyfile(infile, outfile)
shutil.copystat(infile, outfile)
for m in media:
@@ -73,15 +73,15 @@ def install_help(srcdir, blddir, sources, media, langs, install_dir, destdir, pr
outfile = os.path.join(indir, m)
if not os.path.exists(infile):
if lang == 'C':
- mlog.warning('Media file "%s" did not exist in C directory' %m)
+ mlog.warning('Media file "%s" did not exist in C directory' % m)
elif symlinks:
srcfile = os.path.join(c_install_dir, m)
- mlog.log('Symlinking %s to %s.' %(outfile, srcfile))
+ mlog.log('Symlinking %s to %s.' % (outfile, srcfile))
if '/' in m or '\\' in m:
os.makedirs(os.path.dirname(outfile), exist_ok=True)
os.symlink(srcfile, outfile)
continue
- mlog.log('Installing %s to %s.' %(infile, outfile))
+ mlog.log('Installing %s to %s.' % (infile, outfile))
if '/' in m or '\\' in m:
os.makedirs(os.path.dirname(outfile), exist_ok=True)
shutil.copyfile(infile, outfile)