summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/spokes/custom.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-12-20 15:31:11 -0600
committerDavid Lehman <dlehman@redhat.com>2012-12-21 15:20:07 -0600
commit6e4efa1ee8c506f2a50bc125fbb1ce51807124e7 (patch)
treec89a1b72c9c06e11e082d23e67ad9b1019167938 /pyanaconda/ui/gui/spokes/custom.py
parentb271e90b1b4cccaa41fa4c8d3db84786aa88c4e8 (diff)
downloadanaconda-6e4efa1ee8c506f2a50bc125fbb1ce51807124e7.tar.gz
anaconda-6e4efa1ee8c506f2a50bc125fbb1ce51807124e7.tar.xz
anaconda-6e4efa1ee8c506f2a50bc125fbb1ce51807124e7.zip
Don't keep old device name when switching to btrfs in custom.
Related: rhbz#868465
Diffstat (limited to 'pyanaconda/ui/gui/spokes/custom.py')
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index f2ab1564a..08e35e740 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -910,6 +910,9 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
if name_entry.get_sensitive():
name = name_entry.get_text()
changed_name = (name != old_name)
+ else:
+ # name entry insensitive means we don't control the name
+ name = None
log.debug("old_name: %s" % old_name)
log.debug("new_name: %s" % name)