Opened 4 years ago

Closed 13 months 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 4 years ago.
Grass 7.1 patch
centroid_70.diff (1.8 KB) - added by pmav99 4 years ago.
Grass 7.0 patch

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by pmav99

Attachment: centroid_71.diff added

Grass 7.1 patch

Changed 4 years ago by pmav99

Attachment: centroid_70.diff added

Grass 7.0 patch

comment:1 Changed 19 months ago by martinl

Milestone: 7.2.4

comment:2 Changed 13 months ago by lucadelu

In 73436:

pygrass: backported centroid typo, see #2881

comment:3 Changed 13 months ago by lucadelu

In 73437:

pygrass: backported centroid typo, see #2881

comment:4 Changed 13 months ago by lucadelu

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