#NEWLINE# def environments( ) : #NEWLINE# #INDENT# envs = get_or_abort ( puppetdb . environments ) #NEWLINE# x = [ ] #NEWLINE# for env in x : #NEWLINE# #INDENT# x . append ( env [ 'name' ] ) #NEWLINE# #UNINDENT# return x