(self, tzname)
| 153 | return ctzname |
| 154 | |
| 155 | def set_current_tz(self, tzname): |
| 156 | p = subprocess.Popen('tzutil /s "' + tzname + '"') |
| 157 | |
| 158 | out, err = p.communicate() |
| 159 | |
| 160 | if p.returncode: |
| 161 | raise OSError('Failed to set current time zone: ' + |
| 162 | (err or 'Unknown error.')) |
| 163 | |
| 164 | |
| 165 | ### |
nothing calls this directly
no outgoing calls
no test coverage detected