Put the parser variable in the correct place

This commit is contained in:
rallytime 2014-11-24 12:13:38 -07:00
parent d2e5443860
commit 512f07303a

View file

@ -366,10 +366,6 @@ def run(opts):
'''
RUN!
'''
parser = argparse.ArgumentParser(
description='Jenkins execution helper'
)
vm_name = os.environ.get(
'JENKINS_SALTCLOUD_VM_NAME',
generate_vm_name(opts)