PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/src/etc/make-snapshot.py

http://github.com/jruderman/rust
Python | 8 lines | 5 code | 2 blank | 1 comment | 1 complexity | a590bf69608c346420ff08d08e9246a2 MD5 | raw file
1#!/usr/bin/env python
2
3import snapshot, sys
4
5if len(sys.argv) == 3:
6    print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], ""))
7else:
8    print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], sys.argv[3]))