(path)
| 168 | return json.dumps(d, sort_keys=True, indent=4, separators=(',', ': ')) if expand else json.dumps(d, sort_keys=True, separators=(',',':')) |
| 169 | |
| 170 | def mkdir_p(path): |
| 171 | try: |
| 172 | os.makedirs(path) |
| 173 | except OSError as exc: # Python >2.5 |
| 174 | if exc.errno == errno.EEXIST and os.path.isdir(path): |
| 175 | pass |
| 176 | else: raise |
| 177 | |
| 178 | def getOpts(): |
| 179 | parser = argparse.ArgumentParser(description='Seldon Shell') |
no outgoing calls
no test coverage detected