hasii2011 / pyut

A UML Diagrammer implemented in Python
GNU Affero General Public License v3.0
11 stars 4 forks source link

Fix PyutMethod #100

Closed hasii2011 closed 4 years ago

hasii2011 commented 4 years ago

Inappropriate use of PyutPreferences; Had to fix a unit test to work around this The preferences classes needs a static method called before instantiating it

fix the PyutMethod initializer to have a default parameter for the stringMode value

hasii2011 commented 4 years ago

Ok, kind of hard to get the PyutPreferences out of this code. Seems dirty but I will just fix the code to get the value in a type safe manner