diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-21 00:09:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 00:09:44 +0200 |
commit | a2528a881640913dfc71fab7f15225d7e7d9a567 (patch) | |
tree | d4c90f6ae3a87624a4a7d7e90e48e2e700ee1d3f /mesonbuild/scripts/yelphelper.py | |
parent | 39ab311019aed50c6baf3dcb2e1c1bfe0bbe15e8 (diff) | |
parent | 139e020ede8a954a276e69d5c1921884ef9725ce (diff) | |
download | meson-a2528a881640913dfc71fab7f15225d7e7d9a567.zip meson-a2528a881640913dfc71fab7f15225d7e7d9a567.tar.gz meson-a2528a881640913dfc71fab7f15225d7e7d9a567.tar.bz2 |
Merge pull request #1233 from mesonbuild/wip/ignatenko/code-style
Trivial cleanups in code
Diffstat (limited to 'mesonbuild/scripts/yelphelper.py')
-rw-r--r-- | mesonbuild/scripts/yelphelper.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesonbuild/scripts/yelphelper.py b/mesonbuild/scripts/yelphelper.py index 7431a81..76366a4 100644 --- a/mesonbuild/scripts/yelphelper.py +++ b/mesonbuild/scripts/yelphelper.py @@ -12,12 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -import sys, os +import os import subprocess import shutil import argparse from .. import mlog -from ..mesonlib import MesonException from . import destdir_join parser = argparse.ArgumentParser() @@ -82,7 +81,6 @@ def install_help(srcdir, blddir, sources, media, langs, install_dir, destdir, pr os.makedirs(os.path.dirname(outfile), exist_ok=True) os.symlink(srcfile, outfile) continue - symfile = os.path.join(install_dir, m) mlog.log('Installing %s to %s.' %(infile, outfile)) if '/' in m or '\\' in m: os.makedirs(os.path.dirname(outfile), exist_ok=True) @@ -114,4 +112,3 @@ def run(args): merge_translations(build_subdir, abs_sources, langs) install_help(src_subdir, build_subdir, sources, media, langs, install_dir, destdir, options.project_id, options.symlinks) - |