no need to print args.version anymore

This commit is contained in:
Mohamed HAIDARA 2017-10-25 17:09:52 +02:00
parent 360c80f27e
commit 6ade86e0e1

View file

@ -18,7 +18,7 @@ from ansible.playbook.block import Block
from ansible.vars.manager import VariableManager
from graphviz import Digraph
__version__ = "0.0.2"
__version__ = "0.0.3"
# TODO: add more colors
colors = ["red", "#007FFF", "green", "purple", "brown", "orange", "#F562FF", "#5ED4FF", "#50C878", "#0095B6", "#FFD700",
@ -181,10 +181,6 @@ def main():
args = parser.parse_args()
if args.version:
print(__version__)
exit(0)
loader = DataLoader()
inventory = InventoryManager(loader=loader, sources=args.inventory)
variable_manager = VariableManager(loader=loader, inventory=inventory)