summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 02dc2ce8..b03b80c3 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -716,8 +716,7 @@ def redirect_output(outfmt, errfmt, o_out=None, o_err=None):
def make_url(scheme, host, port=None,
path='', params='', query='', fragment=''):
- pieces = []
- pieces.append(scheme or '')
+ pieces = [scheme or '']
netloc = ''
if host: