projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957eed7
)
Fix missing import, and a small tidyup.
author
Ewan Mellor
<ewan@xensource.com>
Fri, 5 Jan 2007 12:32:40 +0000
(12:32 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Fri, 5 Jan 2007 12:32:40 +0000
(12:32 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index 140b6f7749f4e091e27c1652d887c7c48bec350d..1726979aaa8845290170eba6dd275f318c999bc1 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-823,7
+823,7
@@
def preprocess_ioports(vals):
if len(d) == 1:
d.append(d[0])
# Components are in hex: add hex specifier.
- hexd =
map(lambda v: '0x'+v, d)
+ hexd =
['0x' + x for x in d]
ioports.append(hexd)
vals.ioports = ioports
@@
-1176,6
+1176,7
@@
def config_security_check(config, verbose):
try:
domain_label = security.ssidref2label(security.NULL_SSIDREF)
except:
+ import traceback
traceback.print_exc(limit=1)
return 0
domain_policy = 'NULL'