[Piglit] [Patch V2 5/6] environment.py: replace docstring with block comment

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 13 15:09:36 PST 2014


This was incorrectly formatted and should have been using block comments
from the begining.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 framework/environment.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/framework/environment.py b/framework/environment.py
index f7027ba..0ff2055 100644
--- a/framework/environment.py
+++ b/framework/environment.py
@@ -56,12 +56,8 @@ class Environment:
         self.valgrind = valgrind
         self.dmesg = dmesg
 
-        """
-        The filter lists that are read in should be a list of string objects,
-        however, the filters need to be a list or regex object.
-
-        This code uses re.compile to rebuild the lists and set self.filter
-        """
+        # The filter lists that are read in should be a list of string objects,
+        # however, the filters need to be a list or regex object.
         self.filter = [re.compile(x) for x in include_filter]
         self.exclude_filter = [re.compile(x) for x in exclude_filter]
 
-- 
1.8.5.2



More information about the Piglit mailing list