Helper that removes surrounding quotes from strings.
(val)
| 52 | |
| 53 | |
| 54 | def remove_quotes(val): |
| 55 | """Helper that removes surrounding quotes from strings.""" |
| 56 | if val is None: |
| 57 | return |
| 58 | if val[0] in ('"', "'", '`') and val[0] == val[-1]: |
| 59 | val = val[1:-1] |
| 60 | return val |
| 61 | |
| 62 | |
| 63 | def recurse(*cls): |
no outgoing calls
no test coverage detected
searching dependent graphs…