()
| 2158 | |
| 2159 | _UID = 0 |
| 2160 | def uid(): |
| 2161 | global _UID; _UID+=1; return _UID |
| 2162 | |
| 2163 | def truncate(string, length=100): |
| 2164 | """ Returns a (head, tail)-tuple, where the head string length is less than the given length. |
no outgoing calls
no test coverage detected