From: Inacio Klassmann <inacioklassm...@gmail.com> Committer: Inacio Klassmann <inacioklassm...@gmail.com> Branch: master
fixed NameError: name 'file' is not defined --- diff --git a/scripts/run.py b/scripts/run.py --- a/scripts/run.py +++ b/scripts/run.py @@ -499,7 +499,7 @@ def choose_hypervisor(external_networking, arch): if os.path.exists('/dev/kvm') and arch == host_arch: return 'kvm' if (os.path.exists('/proc/xen/capabilities') - and 'control_d' in file('/proc/xen/capabilities').read() + and 'control_d' in open('/proc/xen/capabilities', 'r').read() and external_networking): return 'xen' return 'qemu' -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000360f0905c04bc40f%40google.com.