{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"ansible: ERROR! Unexpected Exception: name 'reload' is not defined","author_name":"Anonymous","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/479 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"479\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<blockquote>\nERROR! Unexpected Exception: name 'reload' is not defined<\/blockquote>\n<p>Reason was python3 not liking the <tt class=\"docutils literal\">reload(sys)<\/tt> command anymore. Replace it with <tt class=\"docutils literal\">imp.reload(sys)<\/tt> to make it work:<\/p>\n<pre class=\"literal-block\">\nimport sys\nimport imp\nimp.reload(sys)\n<\/pre>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/479\/rev-raw\/0428bdd406caa13d34a09f913ee586f35c3af019\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/479#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
