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/backend/backends.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/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index b265a24..dc39ce4 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -170,7 +170,6 @@ class Backend(): # For each language, generate a unity source file and return the list for comp, srcs in compsrcs.items(): - lang = comp.get_language() with init_language_file(comp.get_default_suffix()) as ofile: for src in srcs: ofile.write('#include<%s>\n' % src) @@ -655,7 +654,7 @@ class Backend(): # Subprojects of subprojects may cause the same dep args to be used # multiple times. Remove duplicates here. Note that we can't dedup - # libraries based on name alone, because "-lfoo -lbar -lfoo" is + # libraries based on name alone, because "-lfoo -lbar -lfoo" is # a completely valid (though pathological) sequence and removing the # latter may fail. Usually only applies to static libs, though. def dedup_arguments(self, commands): @@ -672,4 +671,3 @@ class Backend(): previous = c final_commands.append(c) return final_commands - |