Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07edafe

Browse files
authored
Merge pull request#1298 from JohnVillalovos/master
Remove Python 2 code
2 parents9fcd962 +b5d4e40 commit07edafe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎gitlab/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,7 @@ def _set_auth_info(self):
383383
defenable_debug(self):
384384
importlogging
385385

386-
try:
387-
fromhttp.clientimportHTTPConnection# noqa
388-
exceptImportError:
389-
fromhttplibimportHTTPConnection# noqa
386+
fromhttp.clientimportHTTPConnection# noqa
390387

391388
HTTPConnection.debuglevel=1
392389
logging.basicConfig()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp