예제 #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
파일: irc_.py 프로젝트: jense-arntz/giotto
 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)