summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorJon Grimm <jon.grimm@canonical.com>2017-04-03 11:52:42 -0500
committerScott Moser <smoser@brickies.net>2017-04-12 12:32:27 -0400
commitaab609104988b9d14572eb8fa1dd28a8156c0aea (patch)
treeb8ecee2208280ba2592d17630aa3e2a7823d15de /cloudinit/config
parentcd83b77dd1804f90694891470c04514aaa74d18f (diff)
downloadvyos-cloud-init-aab609104988b9d14572eb8fa1dd28a8156c0aea.tar.gz
vyos-cloud-init-aab609104988b9d14572eb8fa1dd28a8156c0aea.zip
Remove (and/or fix) URL shortener references
Several references that were using URL shorteners are now broken due to their service going away, making it painful to even figure out what they were supposed to be pointing at. Put back long URLS using '# noqa' to make flake8 happy. LP: #1669727
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_yum_add_repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_yum_add_repo.py b/cloudinit/config/cc_yum_add_repo.py
index ef8535ed..a04e1b2a 100644
--- a/cloudinit/config/cc_yum_add_repo.py
+++ b/cloudinit/config/cc_yum_add_repo.py
@@ -52,7 +52,7 @@ def _format_repo_value(val):
return str(int(val))
if isinstance(val, (list, tuple)):
# Can handle 'lists' in certain cases
- # See: http://bit.ly/Qqrf1t
+ # See: https://linux.die.net/man/5/yum.conf
return "\n ".join([_format_repo_value(v) for v in val])
if not isinstance(val, six.string_types):
return str(val)