summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index 1a790ca2f..48b7c1810 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -223,15 +223,6 @@ class PartitionTypeWindow:
(user, pw, user_in, pw_in) = entries[2:]
- if len(user) == 0:
- user = None
- if len(pw) == 0:
- pw = None
- if len(user_in) == 0:
- user_in = None
- if len(pw_in) == 0:
- pw_in = None
-
target = entries[0].strip()
try:
idx = target.rfind(":")