diff options
author | Chris Lumens <clumens@redhat.com> | 2010-02-17 12:47:25 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-17 12:54:53 -0500 |
commit | 2593d5586e51adee8c263543f8c84c86890f339c (patch) | |
tree | b03187cd1efafac127d10db0599c7a80a95f53bf /anaconda | |
parent | 0d163eff2820ca9fd0a47228288a9dc022116c20 (diff) | |
download | anaconda-2593d5586e51adee8c263543f8c84c86890f339c.tar.gz anaconda-2593d5586e51adee8c263543f8c84c86890f339c.tar.xz anaconda-2593d5586e51adee8c263543f8c84c86890f339c.zip |
Allow deleting the interface property, too (#566186).
This is needed so we can shut down the text mode interface, which works
by calling del on the interface object.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -550,7 +550,10 @@ class Anaconda(object): # "lambda cannot contain assignment" self._intf = v - intf = property(_getInterface, _setInterface) + def _delInterface(self): + del self._intf + + intf = property(_getInterface, _setInterface, _delInterface) @property def network(self): |