예제 #1
0
 def startElement(self, name, attrs, connection):
     if name == 'TrustedSigners':
         self.trusted_signers = TrustedSigners()
         return self.trusted_signers
     elif name == 'Logging':
         self.logging = LoggingInfo()
         return self.logging
     else:
         return None
예제 #2
0
 def startElement(self, name, attrs, connection):
     if name == 'TrustedSigners':
         self.trusted_signers = TrustedSigners()
         return self.trusted_signers
     elif name == 'S3Origin':
         self.origin = S3Origin()
         return self.origin
     elif name == 'CustomOrigin':
         self.origin = CustomOrigin()
         return self.origin
     return None
예제 #3
0
 def startElement(self, name, attrs, connection):
     if name == 'TrustedSigners':
         self.trusted_signers = TrustedSigners()
         return self.trusted_signers
     return None