← Back to team overview

oshippy-dev team mailing list archive

[Bug 610162] [NEW] DvParsable initializer is a bit confusing!

 

You have been subscribed to a public bug:

DvParsable initializer is a bit confusing!
Look at its initializer:
    def __init__(self,value,formalism,size,charset,language):
        self.value=value
        size=len(value)
        self.size=size
        self.formalism=formalism
        DvEncapsulated.__init__(self,size,charset,language)

It sets the value of size, then the makes self.size = size and calls
superclass initializer, which will make self.size = size again.

** Affects: oshippy
     Importance: Low
     Assignee: Eduardo César (xcesar)
         Status: Fix Released

-- 
DvParsable initializer is a bit confusing!
https://bugs.launchpad.net/bugs/610162
You received this bug notification because you are a member of OSHIPpy Developers, which is subscribed to OSHIPpy.