[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: fix an undefined name error: mac may be referenced before definition.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1246530888 -3600 # Node ID 027ea584362312baac385d85c81cbe31c3e76ba9 # Parent 01275396910a108f5b58c06ebd933f5b2d39609f xend: fix an undefined name error: mac may be referenced before definition. Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 1 + 1 files changed, 1 insertion(+) diff -r 01275396910a -r 027ea5843623 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Thu Jul 02 11:33:43 2009 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu Jul 02 11:34:48 2009 +0100 @@ -1230,6 +1230,7 @@ class XendDomainInfo: if rm_cfg: if deviceClass == 'vif': if self.domid is not None: + mac = '' for dev_num, dev_info in sxprs: dev_num = int(dev_num) if dev_num == dev: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |