mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-02 09:47:16 +03:00
Fix 'conveninece' typo in API documentation
This commit is contained in:
parent
0fbe8e7a1f
commit
a22f75544e
@ -173,7 +173,7 @@ class VirtualNetworkInterface(VirtualDevice):
|
|||||||
|
|
||||||
def _get_source(self):
|
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.
|
per the network type.
|
||||||
"""
|
"""
|
||||||
if self.type == self.TYPE_VIRTUAL:
|
if self.type == self.TYPE_VIRTUAL:
|
||||||
@ -187,7 +187,7 @@ class VirtualNetworkInterface(VirtualDevice):
|
|||||||
return self._network or self._bridge or self._source_dev
|
return self._network or self._bridge or self._source_dev
|
||||||
def _set_source(self, newsource):
|
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
|
per the network type
|
||||||
"""
|
"""
|
||||||
self._bridge = None
|
self._bridge = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user