Show More
@@ -68,7 +68,7 b' def require(features):' | |||||
68 | sys.exit(1) |
|
68 | sys.exit(1) | |
69 |
|
69 | |||
70 | def matchoutput(cmd, regexp, ignorestatus=False): |
|
70 | def matchoutput(cmd, regexp, ignorestatus=False): | |
71 |
"""Return |
|
71 | """Return the match object if cmd executes successfully and its output | |
72 | is matched by the supplied regular expression. |
|
72 | is matched by the supplied regular expression. | |
73 | """ |
|
73 | """ | |
74 | r = re.compile(regexp) |
|
74 | r = re.compile(regexp) |
General Comments 0
You need to be logged in to leave comments.
Login now