Fix a ==, really Tom?

This commit is contained in:
Thomas S Hatch 2011-04-12 20:52:57 -06:00
parent fe42002392
commit 9d3eafe62a

View File

@ -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'\