summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/backend/flags.py4
-rw-r--r--portato/gui/windows/main.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/backend/flags.py b/portato/backend/flags.py
index 2b6b266..c80bf8d 100644
--- a/portato/backend/flags.py
+++ b/portato/backend/flags.py
@@ -381,7 +381,7 @@ def write_use_flags ():
while i < line: # stop at the given line
lines.append(f.readline())
i += 1
- l = f.readline().split(" ")
+ l = f.readline().split()
# delete or insert
if delete:
@@ -396,7 +396,7 @@ def write_use_flags ():
file_cache[file] = lines
else: # in cache
- l = file_cache[file][line-1].split(" ")
+ l = file_cache[file][line-1].split()
if delete:
remove(flag, l)
else:
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 0882c2a..6f7423c 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -162,7 +162,7 @@ class PackageTable:
self.linkBox.remove(c)
text = pkg.get_package_settings("HOMEPAGE")
- texts = text.split(" ")
+ texts = text.split()
ftexts = []
for count, t in enumerate(texts):