aBuffer = "\0"
if isMultiFile :
aBuffer = "def RebuildData(): pass\n\0"
- return (aBuffer, 1)
+ return (aBuffer.encode(), 1)
#-------------------------------------------------------------------------
return theSObject.GetID()
def LocalPersistentIDToIOR(self, theSObject, PersistentID, isMultiFile, isASCII):
- return ""
+ return ''
def ComponentDataType(self):
return self._ComponentDataType
try:
return self.getVersion()
except:
- return ""
+ return ''
def Save(self, theComponent, theURL, isMultiFile):
- return ""
+ return b''
def SaveASCII(self, theComponent, theURL, isMultiFile):
return self.Save(theComponent, theURL, isMultiFile)
return None
def CanCopy(self, theObject):
- return 0
+ return False
+ def CopyFrom(theObject, theObjectID):
+ return b''
+
+ def CanPaste(theComponentName, theObjectID):
+ return False
+
+ def PasteInto(theStream, theObjectID, theObject):
+ return None