示例#1
0
 def make_order_specification(cls, order_string):
     """
     Converts the given CQL sort expression to a order specification.
     """
     try:
         return parse_order(order_string)
     except ParseException as err:
         raise ValueError('Expression parameters have errors. %s' % err)
示例#2
0
文件: url.py 项目: b8va/everest
 def make_order_specification(cls, order_string):
     """
     Converts the given CQL sort expression to a order specification.
     """
     try:
         return parse_order(order_string)
     except ParseException as err:
         raise ValueError('Expression parameters have errors. %s' % err)
示例#3
0
 def make_order_specification(cls, order_string):
     try:
         return parse_order(order_string)
     except ParseException, err:
         raise ValueError('Expression parameters have errors. %s' % err)
示例#4
0
 def make_order_specification(cls, order_string):
     try:
         return parse_order(order_string)
     except ParseException, err:
         raise ValueError('Expression parameters have errors. %s' % err)