From a84caaa2426c8016f2d1ba3e84acfc4a87de0367 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 17:55:27 +0100 Subject: [PATCH] fix syntax --- debian_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian_build.py b/debian_build.py index 5f40489..873f2fe 100755 --- a/debian_build.py +++ b/debian_build.py @@ -100,6 +100,9 @@ logging.basicConfig( logger = logging.getLogger(__file__) logger.setLevel(logging.DEBUG) +class HudsonUrl(urllib.FancyURLopener): + pass + def logger_loud_error(msg): print '##########################################################################' print '##########################################################################' @@ -499,6 +502,7 @@ if __name__ == '__main__': for flavour in fh.readlines(): LINUX_FLAVOUR_REPO_PATH = '/srv/git/r+i/linux-%s.git' % flavour + url = HudsonUrl() data = urllib.urlencode( ( ('GIT_REPO_PATH', LINUX_FLAVOUR_REPO_PATH), -- 2.39.5