source: anuga_core/source/anuga/utilities/parse.py @ 5079

Last change on this file since 5079 was 4963, checked in by ole, 17 years ago

Work on IP tracking:
Checksums, removed DOCTYPE for the time being, formatted, and more checks

File size: 396 bytes
RevLine 
[4944]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
[4963]24license_file_is_valid(fid, '.')
[4944]25
26
Note: See TracBrowser for help on using the repository browser.