parameters: (self,sort)
return_statement: return 'name'
docstring: @校验排序字段
function: def check_file_sort(self,sort):
          """
          @校验排序字段
          """
          slist = ['name','size','mtime','accept','user']
          if sort in slist: return sort
          return 'name'
function_tokens: def check_file_sort ( self , sort ) : slist = [ 'name' , 'size' , 'mtime' , 'accept' , 'user' ] if sort in slist : return sort return 'name'