(self, tzname)
| 273 | return ctzname |
| 274 | |
| 275 | def set_current_tz(self, tzname): |
| 276 | p = subprocess.Popen('tzutil /s "' + tzname + '"') |
| 277 | |
| 278 | out, err = p.communicate() |
| 279 | |
| 280 | if p.returncode: |
| 281 | raise OSError('Failed to set current time zone: ' + |
| 282 | (err or 'Unknown error.')) |
| 283 | |
| 284 | |
| 285 | ### |
nothing calls this directly
no outgoing calls
no test coverage detected