Skip to content

Commit dab4f67

Browse files
committed
Lib: Use absolute import for ldap.pkginfo
1 parent 4c9c526 commit dab4f67

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/ldap/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# This is also the overall release version number
88

9-
from pkginfo import __version__, __author__, __license__
9+
from ldap.pkginfo import __version__, __author__, __license__
1010

1111
import sys
1212

@@ -17,8 +17,6 @@
1717
_trace_file = sys.stderr
1818
_trace_stack_limit = None
1919

20-
from ldap.pkginfo import __version__
21-
2220
import _ldap
2321
assert _ldap.__version__==__version__, \
2422
ImportError('ldap %s and _ldap %s version mismatch!' % (__version__,_ldap.__version__))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy