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

Last change on this file since 4944 was 4944, checked in by ole, 16 years ago

IP tracking work

File size: 391 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.