Modifications to remove import six & use repr as per review comments

This commit is contained in:
Steve Barnes
2016-06-04 06:45:26 +01:00
parent 47a48ffcf0
commit d4ea4cf0a8
2 changed files with 2 additions and 3 deletions

View File

@@ -116,9 +116,9 @@ assert when compiled in debug mode.""",
pt = evt.GetPosition()
item = self.gbs.FindItemAtPoint(pt)
if item is None:
print("no item at", pt)
print("no item at", repr(pt))
else:
print("item found: ", item.GetPos(), "--", item.GetSpan())
print("item found: ", repr(item.GetPos()), "--", repr(item.GetSpan()))
#---------------------------------------------------------------------------