Skip to content

Commit

Permalink
resolve issue #10
Browse files Browse the repository at this point in the history
Signed-off-by: Moraga <[email protected]>
  • Loading branch information
martinmoraga committed Oct 14, 2022
1 parent 4d706c1 commit 714fca7
Show file tree
Hide file tree
Showing 482 changed files with 484 additions and 483 deletions.
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ACDCConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ def __str__(self):
str = 'class=ACDCConverter\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ACDCConverterDCTerminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=ACDCConverterDCTerminal\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ACDCTerminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def __str__(self):
str = 'class=ACDCTerminal\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ACLineSegment.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def __str__(self):
str = 'class=ACLineSegment\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Accumulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=Accumulator\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AccumulatorLimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=AccumulatorLimit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AccumulatorLimitSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=AccumulatorLimitSet\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AccumulatorReset.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=AccumulatorReset\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AccumulatorValue.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=AccumulatorValue\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ActivePower.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=ActivePower\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ActivePowerLimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=ActivePowerLimit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ActivePowerPerCurrentFlow.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ def __str__(self):
str = 'class=ActivePowerPerCurrentFlow\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ActivePowerPerFrequency.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ def __str__(self):
str = 'class=ActivePowerPerFrequency\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Analog.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=Analog\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AnalogControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=AnalogControl\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AnalogLimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=AnalogLimit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AnalogLimitSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=AnalogLimitSet\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AnalogValue.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=AnalogValue\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AngleDegrees.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=AngleDegrees\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AngleRadians.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=AngleRadians\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ApparentPower.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=ApparentPower\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ApparentPowerLimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=ApparentPowerLimit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Area.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=Area\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AsynchronousMachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def __str__(self):
str = 'class=AsynchronousMachine\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AsynchronousMachineDynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def __str__(self):
str = 'class=AsynchronousMachineDynamics\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def __str__(self):
str = 'class=AsynchronousMachineEquivalentCircuit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AsynchronousMachineKind.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def __str__(self):
str = 'class=AsynchronousMachineKind\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def __str__(self):
str = 'class=AsynchronousMachineTimeConstantReactance\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/AsynchronousMachineUserDefined.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=AsynchronousMachineUserDefined\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/BaseVoltage.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def __str__(self):
str = 'class=BaseVoltage\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/BasicIntervalSchedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=BasicIntervalSchedule\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Bay.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=Bay\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Boolean.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def __str__(self):
str = 'class=Boolean\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Breaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ def __str__(self):
str = 'class=Breaker\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/BusNameMarker.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=BusNameMarker\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/BusbarSection.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=BusbarSection\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Capacitance.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=Capacitance\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/CapacitancePerLength.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ def __str__(self):
str = 'class=CapacitancePerLength\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Command.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def __str__(self):
str = 'class=Command\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Conductance.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def __str__(self):
str = 'class=Conductance\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ConductingEquipment.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __str__(self):
str = 'class=ConductingEquipment\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=Conductor\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ConformLoad.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=ConformLoad\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ConformLoadGroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=ConformLoadGroup\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ConformLoadSchedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __str__(self):
str = 'class=ConformLoadSchedule\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ConnectivityNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ def __str__(self):
str = 'class=ConnectivityNode\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ConnectivityNodeContainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=ConnectivityNodeContainer\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ def __str__(self):
str = 'class=Connector\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Control.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ def __str__(self):
str = 'class=Control\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ControlArea.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ def __str__(self):
str = 'class=ControlArea\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ControlAreaGeneratingUnit.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=ControlAreaGeneratingUnit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/ControlAreaTypeKind.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def __str__(self):
str = 'class=ControlAreaTypeKind\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/CoordinateSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def __str__(self):
str = 'class=CoordinateSystem\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/CsConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ def __str__(self):
str = 'class=CsConverter\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/CsOperatingModeKind.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def __str__(self):
str = 'class=CsOperatingModeKind\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/CsPpccControlKind.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def __str__(self):
str = 'class=CsPpccControlKind\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
2 changes: 1 addition & 1 deletion cimpy/cgmes_v2_4_15/Currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def __str__(self):
str = 'class=Currency\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
str = str + key + '={}\n'.format(repr(attributes[key]))
return str
Loading

0 comments on commit 714fca7

Please sign in to comment.