|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] [xend] Remove hardcoded version
Remove hardcoded (and apparently unused by anyone) xend version.
Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
Regards,
Jim
diff -r 8922a1469284 tools/python/xen/xend/XendNode.py
--- a/tools/python/xen/xend/XendNode.py Wed Jan 09 22:21:58 2008 +0000
+++ b/tools/python/xen/xend/XendNode.py Fri Jan 11 09:44:57 2008 -0700
@@ -377,13 +377,7 @@ class XendNode:
def xen_version(self):
info = self.xc.xeninfo()
- try:
- from xen import VERSION
- info = {'Xen': '%(xen_major)d.%(xen_minor)d' % info,
- 'Xend': VERSION}
- except (ImportError, AttributeError):
- info = {'Xen': '%(xen_major)d.%(xen_minor)d' % info,
- 'Xend': '3.0.3'}
+ info = {'Xen': '%(xen_major)d.%(xen_minor)d' % info}
# Add xend_config_format
info.update(self.xendinfo_dict())
diff -r 8922a1469284 tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Wed Jan 09 22:21:58 2008 +0000
+++ b/tools/python/xen/xend/server/SrvDaemon.py Fri Jan 11 09:44:57 2008 -0700
@@ -335,12 +335,6 @@ class Daemon:
log.info("Xend changeset: %s.", xinfo['xen_changeset'])
del xc
- try:
- from xen import VERSION
- log.info("Xend version: %s", VERSION)
- except ImportError:
- log.info("Xend version: Unknown.")
-
relocate.listenRelocation()
servers = SrvServer.create()
servers.start(status)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] [xend] Remove hardcoded version,
Jim Fehlig <=
|
|
|
|
|