Fix missing import, and a small tidyup.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-01-05 12:32:40 +00:00
1 parent 957eed7252
commit 972656054c
1 file changed
+2 -1
+2 -1
View File
@@ -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'
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.