From 155567cfcffa3f967379d853206f2e3fa3712a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 16 Feb 2014 20:14:00 +0100 Subject: [PATCH] appmenus: remove trailing semicolons in python code --- appmenus-scripts/qubes-receive-appmenus | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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