mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Normalize line endings and whitespace
This commit is contained in:
committed by
Andrey Kamaev
parent
69020da607
commit
04384a71e4
Regular → Executable
+2
-2
@@ -28,7 +28,7 @@ class TestInfo(object):
|
||||
self.parseLongMetric(xmlnode, "mean");
|
||||
self.parseLongMetric(xmlnode, "stddev");
|
||||
self.parseFloatMetric(xmlnode, "gstddev");
|
||||
|
||||
|
||||
def parseLongMetric(self, xmlnode, name, default = 0):
|
||||
if xmlnode.hasAttribute(name):
|
||||
tmp = xmlnode.getAttribute(name)
|
||||
@@ -94,7 +94,7 @@ class TestInfo(object):
|
||||
|
||||
def dump(self, units="ms"):
|
||||
print "%s ->\t\033[1;31m%s\033[0m = \t%.2f%s" % (str(self), self.status, self.get("gmean", units), units)
|
||||
|
||||
|
||||
def shortName(self):
|
||||
pos = self.name.find("/")
|
||||
if pos > 0:
|
||||
|
||||
Reference in New Issue
Block a user