def _decode(self, obj, ctx, path): if not self._validate(obj, ctx, path): raise construct.ValidationError( 'Unsupported LSB version: {}'.format(obj)) return obj
def _decode(self, obj, ctx, path): if not self._validate(obj, ctx, path): raise construct.ValidationError(f"Unsupported LPM version: {obj}") return obj
def _decode(self, obj, ctx, path): if not self._validate(obj, ctx, path): raise construct.ValidationError( "Unsupported LiveMaker archive version: {}".format(obj)) return obj