From 9d3eafe62a8d8059a9207b61517e11807a07bbf3 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Tue, 12 Apr 2011 20:52:57 -0600 Subject: [PATCH] Fix a ==, really Tom? --- salt/cli/key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/cli/key.py b/salt/cli/key.py index 6102403ce4..d40efa44c1 100644 --- a/salt/cli/key.py +++ b/salt/cli/key.py @@ -26,7 +26,7 @@ class Key(object): if key_type == 'pre': subdir = 'minions_pre' elif key_type == 'acc': - subdir == 'minions' + subdir = 'minions' dir_ = os.path.join(self.opts['pki_dir'], subdir) if not os.path.isdir(dir_): err = 'The ' + subdir + ' directory is not present, ensure that'\