From 2c39576e8069d3b97eeba86111912f03c68adf49 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Thu, 16 Jan 2014 11:46:06 -0500 Subject: [PATCH] Remove unused variable from authorized_key --- library/system/authorized_key | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/system/authorized_key b/library/system/authorized_key index d6ebfc0fcf1..ee613a90422 100644 --- a/library/system/authorized_key +++ b/library/system/authorized_key @@ -198,7 +198,6 @@ def parseoptions(module, options): and returns a dictionary of those options ''' options_dict = keydict() #ordered dict - key_order = [] if options: token_exp = [ # matches separator @@ -220,10 +219,8 @@ def parseoptions(module, options): if is_valid_option: if len(match.groups()) == 2: options_dict[match.group(1)] = match.group(2) - key_order.append(match.group(1)) else: options_dict[text] = None - key_order.append(text) break if not match: module.fail_json(msg="invalid option string: %s" % options)