Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
2 | |||
3 | from Persistence import PersistentMapping |
||
4 | |||
5 | |||
6 | def copyPermMap(old): |
||
7 | """bullet proof copy |
||
8 | """ |
||
9 | new = PersistentMapping() |
||
10 | for k, v in old.items(): |
||
11 | new[k] = v |
||
12 | return new |
||
13 |