Skip to content
This repository
Newer
Older
100755 18 lines (14 sloc) 0.385 kb
a51d09ec »
2007-03-04 Added expunge and preliminary test cases
1 #!/usr/bin/env python
2 """
3 Main program to run just the expunge portion of planet
4 """
5
6 import os.path
7 import sys
8 from planet import expunge, config
9
10 if __name__ == '__main__':
11
12 if len(sys.argv) == 2 and os.path.isfile(sys.argv[1]):
13 config.load(sys.argv[1])
14 expunge.expungeCache()
15 else:
16 print "Usage:"
17 print " python %s config.ini" % sys.argv[0]
Something went wrong with that request. Please try again.