(self, path)
| 109 | else: |
| 110 | yield v |
| 111 | def create(self, path): |
| 112 | # create a subkey, and the path to it if necessary |
| 113 | k=self |
| 114 | for p in path.split('/'): |
| 115 | if p in k.keys: |
| 116 | k=k.keys[p] |
| 117 | else: |
| 118 | reg.CreateKey(k.wrk, p) |
| 119 | k=Key(k, p) |
| 120 | return k |
| 121 | def setVal(self, name, val, typ='str'): |
| 122 | # set value |
| 123 | typ=typ.upper() |
no test coverage detected