Skip to content

Commit d4e1829

Browse files
Polandia94sfc-gh-mkeller
authored andcommitted
delete workarround for pyton2.7 (#2112)
Co-authored-by: Mark Keller <[email protected]>
1 parent 07812b1 commit d4e1829

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/snowflake/connector/connection.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from io import StringIO
2424
from logging import getLogger
2525
from threading import Lock
26-
from time import strptime
2726
from types import TracebackType
2827
from typing import Any, Callable, Generator, Iterable, Iterator, NamedTuple, Sequence
2928
from uuid import UUID
@@ -308,9 +307,6 @@ def _get_private_bytes_from_file(
308307
for m in [method for method in dir(errors) if callable(getattr(errors, method))]:
309308
setattr(sys.modules[__name__], m, getattr(errors, m))
310309

311-
# Workaround for https://bugs.python.org/issue7980
312-
strptime("20150102030405", "%Y%m%d%H%M%S")
313-
314310
logger = getLogger(__name__)
315311

316312

0 commit comments

Comments
 (0)