#NEWLINE# def list_datacenters( kwargs = None , call = None ) : #NEWLINE# #INDENT# '\n    List the data centers for this VMware environment\n    ' #NEWLINE# if ( kwargs != 'function' ) : #NEWLINE# #INDENT# log . error ( 'The list_datastores function must be called with -f or --function.' ) #NEWLINE# return False #NEWLINE# #UNINDENT# conn = get_conn ( ) #NEWLINE# return conn . get_datacenters ( )