Fix 'conveninece' typo in API documentation

This commit is contained in:
Christophe Fergeau 2015-06-02 14:41:21 +02:00 committed by Cole Robinson
parent 0fbe8e7a1f
commit a22f75544e

View File

@ -173,7 +173,7 @@ class VirtualNetworkInterface(VirtualDevice):
def _get_source(self):
"""
Convenince function, try to return the relevant <source> value
Convenience function, try to return the relevant <source> value
per the network type.
"""
if self.type == self.TYPE_VIRTUAL:
@ -187,7 +187,7 @@ class VirtualNetworkInterface(VirtualDevice):
return self._network or self._bridge or self._source_dev
def _set_source(self, newsource):
"""
Conveninece function, try to set the relevant <source> value
Convenience function, try to set the relevant <source> value
per the network type
"""
self._bridge = None