예제 #1
0
 def __init__(self, options):
     GenericSmsDriver.__init__(self, options)
     if not self.url_pattern:
         try:
             self.url_pattern = self.options['url_pattern'].strip('"\'')
         except KeyError, e:
             raise SmsConfigError("GenericHttp driver requires 'url_pattern' option")
예제 #2
0
 def __init__(self, options):
     GenericSmsDriver.__init__(self, options)
     if not self.url_pattern:
         try:
             self.url_pattern = self.options['url_pattern'].strip('"\'')
         except KeyError, e:
             raise SmsConfigError(
                 "GenericHttp driver requires 'url_pattern' option")
예제 #3
0
 def __init__(self, options = {}):
     GenericSmsDriver.__init__(self, options)