[Piglit] [PATCH 12/20] framework: Port from string.find to str.find (required by python 3.x)
Jon Severinsson
jon at severinsson.net
Fri Apr 12 16:39:54 PDT 2013
---
framework/core.py | 2 +-
1 fil ändrad, 1 tillägg(+), 1 borttagning(-)
diff --git a/framework/core.py b/framework/core.py
index 62b2ed9..7c54d55 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -416,7 +416,7 @@ class Environment:
result = {}
system = platform.system()
if (system == 'Windows' or
- string.find(system, "CYGWIN_NT") == 0):
+ system.find("CYGWIN_NT") == 0):
result['wglinfo'] = self.run('wglinfo')
else:
result['glxinfo'] = self.run('glxinfo')
--
1.7.10.4
More information about the Piglit
mailing list