:param: fn - the dictionary :param: key - the key :param: v - the value to add to the set of values in fn[key].
(self, fn, key, v)
| 109 | # return '\n'.join(map(str, nonComments)), '\n'.join(map(str, comments)) |
| 110 | |
| 111 | def AddValue(self, fn, key, v): |
| 112 | ''' |
| 113 | :param: fn - the dictionary |
| 114 | :param: key - the key |
| 115 | :param: v - the value to add to the set of values in fn[key]. |
| 116 | ''' |
| 117 | try: |
| 118 | values = fn[key] |
| 119 | values.add(v) |
| 120 | fn[key] = values |
| 121 | except KeyError: |
| 122 | # Key is not present |
| 123 | fn[key] = set([v]) |
| 124 | |
| 125 | def WalkPaths(self, option=0): |
| 126 | """ |
no test coverage detected