Guest User

Untitled

a guest
Jan 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. diff --git hacking/tests/gen_distribution_version_testcase.py hacking/tests/gen_distribution_version_testcase.py
  2. index 6d09c77af0..dd2f141dfd 100755
  3. --- hacking/tests/gen_distribution_version_testcase.py
  4. +++ hacking/tests/gen_distribution_version_testcase.py
  5. @@ -60,7 +60,8 @@ except subprocess.CalledProcessError as e:
  6. print(e.output)
  7. sys.exit(e.returncode)
  8.  
  9. -parsed = json.loads(ansible_out[ansible_out.index('{'):])
  10. +parsed = json.loads(ansible_out[ansible_out.index(b'{'):])
  11. +
  12. ansible_facts = {}
  13. for fact in facts:
  14. try:
Add Comment
Please, Sign In to add comment