From 9763c74fff956b862d03ba310d87fb0f1e8cb2e8 Mon Sep 17 00:00:00 2001 From: Denis Meltsaykin Date: Tue, 7 Apr 2015 12:42:33 +0000 Subject: [PATCH] Some cosmetic changes Change-Id: I90d645b1f8a9009242f28ff807a6ad10f52a413e --- scripts/apply_patches.py | 3 +-- scripts/patches.list | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/apply_patches.py b/scripts/apply_patches.py index 0c0d89a..16f5707 100644 --- a/scripts/apply_patches.py +++ b/scripts/apply_patches.py @@ -46,8 +46,7 @@ def read_config(): def apply_patches(): patches = cfg['patches'] - if reverse != "": - patches=reversed(cfg['patches']) + if reverse != "": patches.reverse() for node in cfg['nodes']: for patch in patches: LOG("\n>>>>>>>>>START of PATCHING {0} with {1} (dry-run:{2})\n\n".format( diff --git a/scripts/patches.list b/scripts/patches.list index d02113e..661abd9 100644 --- a/scripts/patches.list +++ b/scripts/patches.list @@ -5,4 +5,4 @@ "patches": [ "./a.patch" ] -} +} -- 2.45.2