(self, attrsD)
| 1076 | return 1 |
| 1077 | |
| 1078 | def _itsAnHrefDamnIt(self, attrsD): |
| 1079 | href = attrsD.get('url', attrsD.get('uri', attrsD.get('href', None))) |
| 1080 | if href: |
| 1081 | try: |
| 1082 | del attrsD['url'] |
| 1083 | except KeyError: |
| 1084 | pass |
| 1085 | try: |
| 1086 | del attrsD['uri'] |
| 1087 | except KeyError: |
| 1088 | pass |
| 1089 | attrsD['href'] = href |
| 1090 | return attrsD |
| 1091 | |
| 1092 | def _save(self, key, value, overwrite=False): |
| 1093 | context = self._getContext() |
no test coverage detected