diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-10-24 12:24:08 -0700 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-10-24 12:24:08 -0700 |
commit | d8307152015808fe655649488afe7fb9bf3eea92 (patch) | |
tree | fdf7dd4a713e993c739dc3a40a2a11215d5ccc9c /cloudinit/config | |
parent | c85279c930786384cd818d75a11922c24bd5fb1e (diff) | |
download | vyos-cloud-init-d8307152015808fe655649488afe7fb9bf3eea92.tar.gz vyos-cloud-init-d8307152015808fe655649488afe7fb9bf3eea92.zip |
fix use search
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/cc_apt_configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_apt_configure.py b/cloudinit/config/cc_apt_configure.py index 7121ec43..4f44e4af 100644 --- a/cloudinit/config/cc_apt_configure.py +++ b/cloudinit/config/cc_apt_configure.py @@ -85,7 +85,7 @@ def handle(name, cfg, cloud, log, _args): matchcfg = cfg.get('add_apt_repo_match', ADD_APT_REPO_MATCH) if matchcfg: - matcher = re.compile(matchcfg) + matcher = re.compile(matchcfg).search else: matcher = lambda f: False |