summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-02-17 12:47:25 -0500
committerChris Lumens <clumens@redhat.com>2010-02-17 12:54:53 -0500
commit2593d5586e51adee8c263543f8c84c86890f339c (patch)
treeb03187cd1efafac127d10db0599c7a80a95f53bf /anaconda
parent0d163eff2820ca9fd0a47228288a9dc022116c20 (diff)
downloadanaconda-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-xanaconda5
1 files changed, 4 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 45f259224..b80db4fef 100755
--- a/anaconda
+++ b/anaconda
@@ -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):