From 480031cb20a6dc960a1d987ae9dc177a18ef2857 Mon Sep 17 00:00:00 2001 From: hyokeun Date: Tue, 2 Jan 2018 19:47:09 +0900 Subject: [PATCH] Update link parsing due to Apache 2.4.18 (Ubuntu) version up Change-Id: Ia050b51473e1227857976a1cbf3f3b05b34bbcbf --- common/workflow.py | 4 +++- job_ref_create_prj_obs.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/common/workflow.py b/common/workflow.py index 14aebf9..e0e6873 100644 --- a/common/workflow.py +++ b/common/workflow.py @@ -743,7 +743,9 @@ def get_info_from_tag(git, branch, target_project, tag, gerrit_env=None): def get_manifest_filelists_snapshot(profile, request_url, timeout=5, group=None): """ get manifest filelists from snapshot""" #p = re.compile(r'alt=\"\[(TXT|DIR| )]*\]\".*') - p = re.compile(r'.*') + #p = re.compile(r'.*') + #FIXME: Ubuntu Apache 2.4.18 + p = re.compile(r'.*.*.*') if not request_url: return {} diff --git a/job_ref_create_prj_obs.py b/job_ref_create_prj_obs.py index af5c83f..2f06991 100644 --- a/job_ref_create_prj_obs.py +++ b/job_ref_create_prj_obs.py @@ -131,7 +131,9 @@ class ref_create_project_obs(object): def get_manifest_filelists_snapshot(self, profile, request_url, timeout=5, group=None): """ get manifest filelists from snapshot""" #p = re.compile(r'alt=\"\[(TXT|DIR| )]*\]\".*') - p = re.compile(r'.*') + #p = re.compile(r'.*') + #FIXME: Ubuntu Apache 2.4.18 + p = re.compile(r'.*.*.*') if not request_url: return [] -- 2.7.4