source: anuga_work/development/sudi/sw_2d/utilities/parse.py @ 7739

Last change on this file since 7739 was 7739, checked in by steve, 14 years ago

Just added in hte utilities folder to get compile_all.py to work. Need a better way to avoid
hard coded use of utilities folder

File size: 396 bytes
Line 
1import sys
2from xml.dom import minidom
3
4
5def print_tree(n, indent=0):
6    while n:
7        print " "*indent, n
8        print_tree(n.firstChild, indent+4)
9        n = n.nextSibling
10
11
12
13#doc = minidom.parse(sys.argv[1])
14
15fid = open(sys.argv[1])
16
17#print fid.read()
18
19#doc = minidom.parse(fid)
20#print doc
21#print_tree(doc)
22
23from data_audit import license_file_is_valid
24license_file_is_valid(fid, '.')
25
26
Note: See TracBrowser for help on using the repository browser.