summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/handlers/__init__.py1
-rw-r--r--cloudinit/stages.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/cloudinit/handlers/__init__.py b/cloudinit/handlers/__init__.py
index 93df5b61..f9b90323 100644
--- a/cloudinit/handlers/__init__.py
+++ b/cloudinit/handlers/__init__.py
@@ -232,7 +232,6 @@ def walk(msg, callback, data):
headers['Content-Type'] = ctype
callback(data, filename, part.get_payload(decode=True), headers)
partnum = partnum + 1
- return partnum
def fixup_handler(mod, def_freq=PER_INSTANCE):
diff --git a/cloudinit/stages.py b/cloudinit/stages.py
index 43eaca1b..ba974a3e 100644
--- a/cloudinit/stages.py
+++ b/cloudinit/stages.py
@@ -407,8 +407,8 @@ class Init(object):
# names...
'handlercount': 0,
}
- return handlers.walk(user_data_msg, handlers.walker_callback,
- data=part_data)
+ handlers.walk(user_data_msg, handlers.walker_callback,
+ data=part_data)
def finalize_handlers():
# Give callbacks opportunity to finalize