Return the string value in a form that can safely be inserted into a shell command.
(value)
| 64 | dump(path, fp) |
| 65 | |
| 66 | def shellQuote(value): |
| 67 | """ |
| 68 | Return the string value in a form that can safely be inserted into |
| 69 | a shell command. |
| 70 | """ |
| 71 | return "'%s'"%(value.replace("'", "'\"'\"'")) |
| 72 | |
| 73 | def grepValue(fn, variable): |
| 74 | """ |
no test coverage detected
searching dependent graphs…