X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=coe%2Fbin.py;h=e965a79336463ab479e1b14bec213ae20ffbd649;hb=ef6415d59129ca99fa4a0c23110a43ea6abe3a64;hp=0e92bc6d28475de26df73ebde377089937753e54;hpb=6d98d3d8cebcff5dd8a3ee274d4392d862f20172;p=coe.git diff --git a/coe/bin.py b/coe/bin.py index 0e92bc6..e965a79 100644 --- a/coe/bin.py +++ b/coe/bin.py @@ -223,7 +223,7 @@ class decoder(object): buf[key] = self.loadtagged(fp, tag) def makeobjtype(self, nm): - return data.namedtype(str(nm), (data.obj, object), {}, typename=nm) + return data.namedtype.make(str(nm), (data.obj, object), {}, typename=nm) def loadobj(self, fp, ref=False): if ref: