#NEWLINE# def shlex_split( s , **kwargs ) : #NEWLINE# #INDENT# '\n    Only split if variable is a string\n    ' #NEWLINE# if isinstance ( s , six . string_types ) : #NEWLINE# #INDENT# return shlex . split ( s , ** kwargs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return s