diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2016-12-31 20:19:38 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-01 12:02:05 -0500 |
commit | 116da33cddeb1793329ddefcc0e6db74679931f2 (patch) | |
tree | e373c9cf07b74ac5a8d7c97212377860cb60ca3b /mesonbuild/backend/vs2010backend.py | |
parent | ea570bcb6704629a4a503548865a8dc19c872a39 (diff) | |
download | meson-116da33cddeb1793329ddefcc0e6db74679931f2.zip meson-116da33cddeb1793329ddefcc0e6db74679931f2.tar.gz meson-116da33cddeb1793329ddefcc0e6db74679931f2.tar.bz2 |
style: fix E128 violations
E128: continuation line under-indented for visual indent
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r-- | mesonbuild/backend/vs2010backend.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py index 8bfc2e4..e9d7389 100644 --- a/mesonbuild/backend/vs2010backend.py +++ b/mesonbuild/backend/vs2010backend.py @@ -462,18 +462,18 @@ class Vs2010Backend(backends.Backend): def escape_preprocessor_define(define): # See: https://msdn.microsoft.com/en-us/library/bb383819.aspx table = str.maketrans({'%': '%25', '$': '%24', '@': '%40', - "'": '%27', ';': '%3B', '?': '%3F', '*': '%2A', - # We need to escape backslash because it'll be un-escaped by - # Windows during process creation when it parses the arguments - # Basically, this converts `\` to `\\`. - '\\': '\\\\'}) + "'": '%27', ';': '%3B', '?': '%3F', '*': '%2A', + # We need to escape backslash because it'll be un-escaped by + # Windows during process creation when it parses the arguments + # Basically, this converts `\` to `\\`. + '\\': '\\\\'}) return define.translate(table) @staticmethod def escape_additional_option(option): # See: https://msdn.microsoft.com/en-us/library/bb383819.aspx table = str.maketrans({'%': '%25', '$': '%24', '@': '%40', - "'": '%27', ';': '%3B', '?': '%3F', '*': '%2A', ' ': '%20'}) + "'": '%27', ';': '%3B', '?': '%3F', '*': '%2A', ' ': '%20'}) option = option.translate(table) # Since we're surrounding the option with ", if it ends in \ that will # escape the " when the process arguments are parsed and the starting |