[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH] Properly capitalize ESX & GSX



Attached is a trivial patch to capitalize "ESX" in the list of
connections in virt-manager.

Richard
# HG changeset patch
# User "Richard Laager <rlaager wiktel com>"
# Date 1271567613 18000
# Node ID ca7300805d2c01f4e4a7c7cf431bb431746f4fb8
# Parent  16cc1aa7bffc9ea668664f28f5cd3cf37f4ee1a2
Uppercase ESX and GSX (from the esx driver)

diff -r 16cc1aa7bffc -r ca7300805d2c src/virtManager/connection.py
--- a/src/virtManager/connection.py	Thu Apr 15 13:12:54 2010 +0000
+++ b/src/virtManager/connection.py	Sun Apr 18 00:13:33 2010 -0500
@@ -459,6 +459,8 @@
             hv = "QEMU"
             if active and self.is_kvm_supported():
                 hv += "/KVM"
+        elif scheme in ('esx', 'gsx'):
+            hv = scheme.upper()
         else:
             hv = scheme.capitalize()
 

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]