mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
smbserver: fix Python version specific ConfigParser import
Follow up toee63837and8c7c4a6Fixes #5077
This commit is contained in:
parent
4674269633
commit
d5c01d779f
2 changed files with 5 additions and 5 deletions
|
|
@ -28,9 +28,9 @@ import os
|
|||
import sys
|
||||
import logging
|
||||
import tempfile
|
||||
try: # Python 3
|
||||
if sys.version_info.major >= 3:
|
||||
import configparser
|
||||
except ImportError: # Python 2
|
||||
else:
|
||||
import ConfigParser as configparser
|
||||
|
||||
# Import our curl test data helper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue