Last change
on this file since 5855 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
|
Line | |
---|
1 | import sys |
---|
2 | from xml.dom import minidom |
---|
3 | |
---|
4 | |
---|
5 | def 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 | |
---|
15 | fid = open(sys.argv[1]) |
---|
16 | |
---|
17 | #print fid.read() |
---|
18 | |
---|
19 | #doc = minidom.parse(fid) |
---|
20 | #print doc |
---|
21 | #print_tree(doc) |
---|
22 | |
---|
23 | from data_audit import license_file_is_valid |
---|
24 | license_file_is_valid(fid, '.') |
---|
25 | |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.