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

Dylan Baker baker.dylan.c at gmail.com
Wed Dec 18 13:58:20 PST 2013


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 c5693cc..ad7b861 100644
--- a/framework/environment.py
+++ b/framework/environment.py
@@ -60,12 +60,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.1



More information about the Piglit mailing list