From 652c192d7ffb4c00414f148c9917eb6bfe1a5157 Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Wed, 10 Feb 2016 19:26:40 -0800 Subject: [PATCH] Remove dead code This variable assignment is wiped out by the next statement, remove it. Change-Id: Ibc042d6a98170646f03fc00a8ffd16d9f9cce9f4 --- library/puppet_get_hiera_file_list | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/puppet_get_hiera_file_list b/library/puppet_get_hiera_file_list index 531c9f4..176d676 100644 --- a/library/puppet_get_hiera_file_list +++ b/library/puppet_get_hiera_file_list @@ -49,9 +49,6 @@ def main(): ) p = module.params - paths = [ - 'common.yaml', - 'fqdn/%s.yaml' % p['fqdn'] ] paths = ['group/%s.yaml' % f for f in p['groups'] ] paths.append('common.yaml') paths.append('fqdn/%s.yaml' % p['fqdn'])