xend: Remove XendLogging dependency from a couple of generally useful

support modules.

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
This commit is contained in:
Keir Fraser committed 2008-05-21 10:57:08 +01:00
1 parent f505be0a58
commit da61293b33
2 files changed
+1 -5

No files matched your search

-2
View File
@@ -2,8 +2,6 @@ import os
import re
import string
from xen.xend.XendLogging import log
def expand_dev_name(name):
if not name:
return name
+1 -3
View File
@@ -9,8 +9,6 @@ import errno
import threading
from xen.xend.xenstore.xsutil import xshandle
from xen.xend.XendLogging import log
class xswatch:
@@ -76,7 +74,7 @@ def watchMain():
else:
raise
except:
log.exception("read_watch failed")
pass
# Ignore this exception -- there's no point throwing it
# further on because that will just kill the watcher thread,
# which achieves nothing.
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.