Ejemplo n.º 1
0
    def __repr__(self):
        minorName = omniORB.minorCodeToString(self)
        if minorName is None:
            minorName = hex(self.minor)
        else:
            minorName = "omniORB." + minorName

        return "CORBA.%s(%s, CORBA.%s)" % (self.__class__.__name__,
                                           minorName,
                                           self.completed)
Ejemplo n.º 2
0
    def __repr__(self):
        minorName = omniORB.minorCodeToString(self)
        if minorName is None:
            minorName = hex(self.minor)
        else:
            minorName = "omniORB." + minorName

        if self._info is not None:
            info = ", %r" % self._info
        else:
            info = ""

        return "CORBA.%s(%s, CORBA.%s%s)" % (self.__class__.__name__,
                                             minorName, self.completed, info)
Ejemplo n.º 3
0
    def __repr__(self):
        minorName = omniORB.minorCodeToString(self)
        if minorName is None:
            minorName = hex(self.minor)
        else:
            minorName = "omniORB." + minorName

        if self._info is not None:
            info = ", %r" % self._info
        else:
            info = ""

        return "CORBA.%s(%s, CORBA.%s%s)" % (self.__class__.__name__,
                                             minorName,
                                             self.completed,
                                             info)