#NEWLINE# def _get_current_action_folder( self , request , files_queryset , folders_queryset ) : #NEWLINE# #INDENT# if files_queryset : #NEWLINE# #INDENT# return folders_queryset [ 0 ] . folder #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if folders_queryset : #NEWLINE# #INDENT# return folders_queryset [ 0 ] . parent #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None