simplify vm_guest detection code (#49378)

- remove a lot of repetition
  - change lists to tuples since they are faster to assign
This commit is contained in:
Brian Coca
2018-12-10 11:42:51 -05:00
committed by GitHub
parent 42a13d15f1
commit e53a7856f6
2 changed files with 16 additions and 38 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- simple code collapse, avoid a lot of repetition