diff options
author | Joshua Harlow <harlowja@gmail.com> | 2013-07-20 13:13:02 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2013-07-20 13:13:02 -0700 |
commit | bbfc76fb74595881b25acc1bbbd426314c2390ed (patch) | |
tree | 68a45e5bb5dcfa97b67cbd5109fbceffe4975151 | |
parent | 2849c8d3eb44b186e9eaed46080796d56e9529f2 (diff) | |
download | vyos-cloud-init-bbfc76fb74595881b25acc1bbbd426314c2390ed.tar.gz vyos-cloud-init-bbfc76fb74595881b25acc1bbbd426314c2390ed.zip |
Remove return not used.
-rw-r--r-- | cloudinit/handlers/__init__.py | 1 | ||||
-rw-r--r-- | cloudinit/stages.py | 4 |
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 |