Parse a formatted attribute
(self, name, value)
| 1898 | return value |
| 1899 | |
| 1900 | def _parse_attribute(self, name, value): |
| 1901 | """ |
| 1902 | Parse a formatted attribute |
| 1903 | """ |
| 1904 | parsed = [] |
| 1905 | # Split across ; |
| 1906 | for val in value.split(";"): |
| 1907 | if name == "objectSid": |
| 1908 | val = WINNT_SID.fromstr(val) |
| 1909 | parsed.append(val) |
| 1910 | return parsed |
| 1911 | |
| 1912 | def tprint(self, x, tags=[], flush=False): |
| 1913 | """ |
no test coverage detected