From 4f61fc4bb07a71e35fabe93ac693db2e8f14db24 Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Fri, 13 Oct 2006 06:37:16 +0000 Subject: [PATCH] set scheme=https in the default conf; add missing import sys in othermethods.py --- osc/conf.py | 2 +- osc/othermethods.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/osc/conf.py b/osc/conf.py index 29d49891..2459a853 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -18,7 +18,7 @@ After reading the config, urllib2 is initialized. The configuration dictionary could look like this: {'apisrv': 'api.opensuse.org', - 'scheme': 'http', + 'scheme': 'https', 'user': 'poeml', 'pass': 'secret', 'auth_dict': {'api.opensuse.org': {'user': 'poeml', 'pass': 'secret'}, diff --git a/osc/othermethods.py b/osc/othermethods.py index 9759dc6c..b49acd5b 100755 --- a/osc/othermethods.py +++ b/osc/othermethods.py @@ -14,6 +14,7 @@ PUT methods. import httplib import base64 +import sys import os import urlparse from osc.core import __version__