diff --git a/appmenus-scripts/qubes-receive-appmenus b/appmenus-scripts/qubes-receive-appmenus index 5c8a591..0cbc395 100755 --- a/appmenus-scripts/qubes-receive-appmenus +++ b/appmenus-scripts/qubes-receive-appmenus @@ -64,7 +64,7 @@ def get_appmenus(vm): while appmenus_line_count > 0: untrusted_line = sys.stdin.readline(appmenus_line_size) if untrusted_line == "": - break; + break untrusted_appmenulist.append(untrusted_line.strip()) appmenus_line_count -= 1 if appmenus_line_count == 0: @@ -74,7 +74,7 @@ def get_appmenus(vm): while appmenus_line_count > 0: untrusted_line = p.stdout.readline(appmenus_line_size) if untrusted_line == "": - break; + break untrusted_appmenulist.append(untrusted_line.strip()) appmenus_line_count -= 1 p.wait() @@ -115,7 +115,7 @@ def get_appmenus(vm): print >>sys.stderr, "Warning: ignoring key %s: %s" % (untrusted_key, untrusted_value) # else: ignore this key else: - print >>sys.stderr, "Warning: ignoring line: %s" % (untrusted_line); + print >>sys.stderr, "Warning: ignoring line: %s" % (untrusted_line) return appmenus