Add 'skip_confirmation' to user migration
For the sake of ease, skip_confirmation: true
needs to be added to each staged user json before sending the request.
In this function make this change:
for user in users:
try:
##Add this line
user["skip_confirmation"] = True
##
api.generate_post_request(parent_host, parent_token, "users", json.dumps(user))
except HTTPError, e:
if e.code == 409:
print "User already exists"