From 71deffab18c0d3b0b54f604f68c743a33c655f9d Mon Sep 17 00:00:00 2001 From: Martin Blanchard <tchaik@gmx.com> Date: Sun, 2 Jul 2017 12:53:08 +0200 Subject: [PATCH] get-unquoted: Fix indentation and remove useless arithmetic --- mesonbuild/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 11d513129..e0aebc1b2 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -235,7 +235,7 @@ class ConfigurationDataHolder(MutableInterpreterObject): else: raise InterpreterException('Entry %s not in configuration data.' % name) if val[0] == '"' and val[-1] == '"': - return val[1:len(val)-1] + return val[1:-1] return val def get(self, name):