diff options
Diffstat (limited to 'cloudinit/UserDataHandler.py')
-rw-r--r-- | cloudinit/UserDataHandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/UserDataHandler.py b/cloudinit/UserDataHandler.py index ab7d0bc8..feb67149 100644 --- a/cloudinit/UserDataHandler.py +++ b/cloudinit/UserDataHandler.py @@ -67,8 +67,8 @@ def process_includes(msg,parts): ctype = None ctype_orig = part.get_content_type() if ctype_orig == "text/plain": - for str, gtype in starts_with_mappings.items(): - if payload.startswith(str): + for sstr, gtype in starts_with_mappings.items(): + if payload.startswith(sstr): ctype = gtype break |