示例#1
0
 def get_raw_data(self):
     """
     Parse the raw commandline arguments (from sys.argv) to a dictionary
     that is understandable to the rest of the framework.
     """
     arguments = self.request.argv[1:]
     if not arguments[0].startswith('--'):
         # first argument is the program name
         arguments = arguments[1:]
     return parse_kwargs(arguments)
示例#2
0
 def get_raw_data(self):
     kwargs = self.request.args
     return parse_kwargs(kwargs)
示例#3
0
文件: irc_.py 项目: mrsono0/giotto
 def get_raw_data(self):
     kwargs = self.request.args
     return parse_kwargs(kwargs)