mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-22 22:48:51 +02:00
ups .. forgot to import module
This commit is contained in:
@@ -33,6 +33,7 @@ The configuration dictionary could look like this:
|
|||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import OscConfigParser
|
import OscConfigParser
|
||||||
from osc import oscerr
|
from osc import oscerr
|
||||||
from oschttps import NoSecureSSLError
|
from oschttps import NoSecureSSLError
|
||||||
@@ -317,6 +318,7 @@ def init_basicauth(config):
|
|||||||
|
|
||||||
global cookiejar
|
global cookiejar
|
||||||
|
|
||||||
|
import sys
|
||||||
if sys.version_info < (2, 6):
|
if sys.version_info < (2, 6):
|
||||||
# HTTPS proxy is not supported in old urllib2. It only leads to an error
|
# HTTPS proxy is not supported in old urllib2. It only leads to an error
|
||||||
# or, at best, a warning.
|
# or, at best, a warning.
|
||||||
|
Reference in New Issue
Block a user