Move definition of xc variable, to save confusing pylint.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@ewan committed 2005-09-20 17:21:39 +01:00
1 parent 8aee1a239f
commit bf0102c5f3
1 file changed
+5 -1
+5 -1
View File
@@ -22,7 +22,7 @@ import types
from encode import *
import sxp
from xen.xend import XendRoot; xroot = XendRoot.instance()
from xen.xend import XendRoot
DEBUG = 0
@@ -31,6 +31,10 @@ HTTP_CREATED = 201
HTTP_ACCEPTED = 202
HTTP_NO_CONTENT = 204
xroot = XendRoot.instance()
class XendError(RuntimeError):
"""Error class for 'expected errors' when talking to xend.
"""
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.