From 2bd702d5f1d9ac87629efb1d79adeb6f045f8448 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 14 Jan 2016 18:11:19 +0100 Subject: [PATCH 1/2] Some fixes --- ninjabackend.py | 2 +- optinterpreter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ninjabackend.py b/ninjabackend.py index 98cc579c7..c818f1d51 100644 --- a/ninjabackend.py +++ b/ninjabackend.py @@ -1740,7 +1740,7 @@ rule FORTRAN_DEP_HACK gcno_elem.add_item('COMMAND', [sys.executable, clean_script, '.', 'gcno']) gcno_elem.add_item('description', 'Deleting gcno files') gcno_elem.write(outfile) - self.check_outputs(gcno_elem, gcno_elem) + self.check_outputs(gcno_elem) gcda_elem = NinjaBuildElement('clean-gcda', 'CUSTOM_COMMAND', 'PHONY') script_root = self.environment.get_script_dir() diff --git a/optinterpreter.py b/optinterpreter.py index f11161061..672df517d 100644 --- a/optinterpreter.py +++ b/optinterpreter.py @@ -100,7 +100,7 @@ class OptionInterpreter: elif isinstance(arg, mparser.ArrayNode): return [self.reduce_single(curarg) for curarg in arg.args.arguments] elif isinstance(arg, mparser.NumberNode): - return arg.get_value() + return arg.value else: raise OptionException('Arguments may only be string, int, bool, or array of those.') From 738da1e413592bafbb268372e27d379db306de79 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 14 Jan 2016 22:36:18 +0100 Subject: [PATCH 2/2] Adding myself to authors.txt --- authors.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/authors.txt b/authors.txt index ccb8e838c..0d043eb26 100644 --- a/authors.txt +++ b/authors.txt @@ -26,3 +26,4 @@ Haakon Sporsheim Wink Saville Yoav Alon Martin Ejdestig +RĂ©mi Nicole