Ticket #311: unsupported-311.patch

File unsupported-311.patch, 0.5 KB (added by thijs, 5 months ago)
  • pyamf/amf3.py

     
    12631263        """ 
    12641264        self.writeType(ASTypes.UNDEFINED) 
    12651265 
     1266    def writeUnsupported(self, data): 
     1267        """ 
     1268        Writes unsupported data type to the stream. 
     1269        """ 
     1270        self.writeType(ASTypes.UNSUPPORTED) 
     1271         
    12661272    def writeNull(self, n, use_references=True): 
    12671273        """ 
    12681274        Writes a C{null} value to the stream.