(self, aList)
| 2131 | return re.sub(r'\s+', ' ', s).strip() |
| 2132 | |
| 2133 | def unique(self, aList): |
| 2134 | results = [] |
| 2135 | for element in aList: |
| 2136 | if element not in results: |
| 2137 | results.append(element) |
| 2138 | return results |
| 2139 | |
| 2140 | def toISO8601(self, dt): |
| 2141 | return time.strftime('%Y-%m-%dT%H:%M:%SZ', dt) |