- Timestamp:
- 10/09/10 17:55:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/pyregfi-smoketest.py
r202 r209 23 23 # The iterator now walks the entire registry hive, depth-first 24 24 for key in iter: 25 print key.key.keyname25 #print key.key.keyname 26 26 num_keys +=1 27 27 num_values += iter_values(key) … … 29 29 print "keys: %d" % num_keys 30 30 print "values: %d" % num_values 31 32 33 iter = rf.TreeIterator() 34 root = iter.current() 35 for key in root.subkeys(): 36 for subkey in key.subkeys(): 37 for subsubkey in subkey.subkeys(): 38 print key.key.keyname 39
Note: See TracChangeset
for help on using the changeset viewer.