5 # Delete all the database records for Geni. This tool is used to clean out Geni
6 # records during testing.
8 # Authority info (maintained by the hierarchy module in a subdirectory tree)
9 # is not purged by this tool and may be deleted by a command like 'rm'.
15 from geni.util.hierarchy import *
16 from geni.util.record import *
17 from geni.util.genitable import *
18 from geni.util.config import *
20 def process_options():
23 (options, args) = getopt.getopt(sys.argv[1:], '', [])
31 print "purging geni records from database"
32 geni_records_purge(get_default_dbinfo())
34 if __name__ == "__main__":