Make show_instance global before name spacing it.

This commit is contained in:
Pedro Algarvio 2013-11-18 23:29:50 +00:00
parent 7d3967ff8d
commit e64aa47daa

View File

@ -124,7 +124,7 @@ def __virtual__():
global avail_images, avail_sizes, script, list_nodes global avail_images, avail_sizes, script, list_nodes
global avail_locations, list_nodes_full, list_nodes_select, get_image global avail_locations, list_nodes_full, list_nodes_select, get_image
global get_size, libcloudfuncs_destroy global get_size, libcloudfuncs_destroy, show_instance
# open a connection in a specific region # open a connection in a specific region
conn = get_conn(**{'location': get_location()}) conn = get_conn(**{'location': get_location()})