Remove bogus check for Xen in example program

The dominfo.py example script has a bogus check for /proc/xen
existing. The default connection cannot be assumed to be Xen
any more

* examples/python/dominfo.py: Remove check for Xen
This commit is contained in:
Daniel P. Berrange 2010-11-08 14:21:49 +00:00
parent 5414d6b6ae
commit 6b3ede3f02

View File

@ -27,10 +27,6 @@ def print_xml(key, ctx, path):
print_entry(key, value)
return value
if not os.access("/proc/xen", os.R_OK):
print 'System is not running a Xen kernel'
sys.exit(1)
if len(sys.argv) != 2:
usage()
sys.exit(2)