From: Denis Meltsaykin Date: Tue, 7 Apr 2015 12:42:33 +0000 (+0000) Subject: Some cosmetic changes X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9763c74fff956b862d03ba310d87fb0f1e8cb2e8;p=tools%2Fsustaining.git Some cosmetic changes Change-Id: I90d645b1f8a9009242f28ff807a6ad10f52a413e --- 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" ] -} +}