Skip to content

Commit 21e4edd

Browse files
Polandia94sfc-gh-mkeller
authored andcommitted
delete workarround for pyton2.7
This workarround is only for unsoportted python 2.7
1 parent 51bd484 commit 21e4edd

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
@@ -312,9 +311,6 @@ def _get_private_bytes_from_file(
312311
for m in [method for method in dir(errors) if callable(getattr(errors, method))]:
313312
setattr(sys.modules[__name__], m, getattr(errors, m))
314313

315-
# Workaround for https://bugs.python.org/issue7980
316-
strptime("20150102030405", "%Y%m%d%H%M%S")
317-
318314
logger = getLogger(__name__)
319315

320316

0 commit comments

Comments
 (0)