Opened 8 years ago

Closed 6 years ago

#2881 closed defect (fixed)

Fix typo in pygrass.vector.geometry.Centroid.__repr__

Reported by: pmav99 Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: PyGRASS Version: unspecified
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

There is a typo in pygrass.vector.geometry.Centroid.__repr__

     def __repr__(self):
-        return "Centoid(%s)" % ', '.join(['%f' % co for co in self.coords()])
+        return "Centroid(%s)" % ', '.join(['%f' % co for co in self.coords()])

Attachments (2)

centroid_71.diff (2.9 KB ) - added by pmav99 8 years ago.
Grass 7.1 patch
centroid_70.diff (1.8 KB ) - added by pmav99 8 years ago.
Grass 7.0 patch

Download all attachments as: .zip

Change History (6)

by pmav99, 8 years ago

Attachment: centroid_71.diff added

Grass 7.1 patch

by pmav99, 8 years ago

Attachment: centroid_70.diff added

Grass 7.0 patch

comment:1 by martinl, 6 years ago

Milestone: 7.2.4

comment:2 by lucadelu, 6 years ago

In 73436:

pygrass: backported centroid typo, see #2881

comment:3 by lucadelu, 6 years ago

In 73437:

pygrass: backported centroid typo, see #2881

comment:4 by lucadelu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.