78b44234b9f471450c046afdbece1d5cad80ebfc
[cs-p2p-next.git] / ppf / new / parse_swarm.py
1 """
2 Parse swarm set of compressed file.
3
4 2011, Razvan Deaconescu, razvan.deaconescu@cs.pub.ro
5 """
6
7 # TODO: Define default values for swarm and access config files.
8
9 def main():
10     """
11     Sample usage:
12     python parse_swarm.py -s /path/to/swarm-config-file -a /path/to/access-config-file
13     """
14
15     # TODO: Parse arguments and pass them to parse_swarm
16     parse_swarm("/path/to/swarm-config-file", "/path/to/access-config-file");
17
18 if __name__ == "__main__":
19     sys.exit(main())