Skip to content

Commit

Permalink
deduped imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Mar 17, 2024
1 parent 48cc3d0 commit 4ba4e43
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions adodbapi/adodbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,16 @@
import weakref
from collections.abc import Mapping

import pythoncom
import pywintypes
from win32com.client import Dispatch

from . import ado_consts as adc, apibase as api, process_connect_string

try:
import pythoncom
import pywintypes
import win32com.client

onWin32 = True
from win32com.client import Dispatch
except ImportError:
import warnings

warnings.warn("pywin32 package required for adodbapi.", ImportWarning)
onWin32 = False # assume the worst

__version__ = "3.7.0.0"
version = "adodbapi v" + __version__
Expand Down

0 comments on commit 4ba4e43

Please sign in to comment.