From 50dafc7ee4981f081e05fbf8c19ca8e4e9f7f0e0 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Tue, 8 Nov 2016 01:34:49 +0200 Subject: [PATCH] Remove redundant assignemnt No need to read the command name twice. This is also assigned a few lines down. --- src/xdgmenumaker | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xdgmenumaker b/src/xdgmenumaker index 4036374..bf15dba 100755 --- a/src/xdgmenumaker +++ b/src/xdgmenumaker @@ -802,7 +802,6 @@ def twm(): print("{") for app in menu_category.applist: name = app.name.decode() - command = app.command # for some apps (like netbeans) the command is launched with # /bin/sh "command" # and the quotes get mixed up with the quotes twm puts