bitkeeper revision 1.1108.35.6 (41091d99KjjPC1MDTpjZgbI8NuFnog)

Fix mac formatting.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-07-29 15:54:01 +00:00
1 parent 10040e30aa
commit 48434773af
1 file changed
+1 -1
+1 -1
View File
@@ -164,7 +164,7 @@ class NetDev(controller.Dev):
def get_mac(self):
"""Get the MAC address as a string.
"""
return ':'.join(map(lambda x: "%x" % x, self.mac))
return ':'.join(map(lambda x: "%02x" % x, self.mac))
def vifctl_params(self, vmname=None):
dom = self.controller.dom
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.