(arg)
| 70 | return exit_code or Check(output, errors) |
| 71 | |
| 72 | def Escape(arg): |
| 73 | def ShouldEscape(): |
| 74 | for x in arg: |
| 75 | if not x.isalnum() and x != '-' and x != '_': |
| 76 | return True |
| 77 | return False |
| 78 | |
| 79 | return arg if not ShouldEscape() else '"%s"' % (arg.replace('"', '\\"')) |
| 80 | |
| 81 | def WriteToTemporaryFile(data): |
| 82 | (fd, fname) = tempfile.mkstemp() |
no test coverage detected
searching dependent graphs…