1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

ups .. forgot to import module

This commit is contained in:
Adrian Schröter 2009-10-29 17:27:20 +00:00
parent 455a173481
commit 5f31baf71a

View File

@ -33,6 +33,7 @@ The configuration dictionary could look like this:
}
"""
import OscConfigParser
from osc import oscerr
from oschttps import NoSecureSSLError
@ -317,6 +318,7 @@ def init_basicauth(config):
global cookiejar
import sys
if sys.version_info < (2, 6):
# HTTPS proxy is not supported in old urllib2. It only leads to an error
# or, at best, a warning.