From: Liang Chen <chenliangomc@users.noreply.github.com>
Date: Wed, 5 Apr 2017 13:46:14 -0400
Subject: [PATCH] Fix syntax error to close issue #42
Close https://github.com/fvwmorg/fvwm/issues/42
diff --git a/bin/fvwm-menu-desktop.in b/bin/fvwm-menu-desktop.in
index 1df034b..af6a801 100644
--- a/bin/fvwm-menu-desktop.in
+++ b/bin/fvwm-menu-desktop.in
@@ -141,7 +141,7 @@ Standard output is a series Fvwm commands."""
"desktop=", "size=", "theme=", "install-prefix=", "menu-type=", "regen-cmd=",
"title=", "get-menus=", "set-menus=", "insert-in-menu=", "mini-icon-dir=",
"app-icon=", "dir-icon=", "include-items=", "dynamic", "all-menus"]+obs_args+equaled_obs_parms)
- except getopt.GetoptError, err:
+ except getopt.GetoptError as err:
# print help information and exit:
print str(err) # will print something like "option -a not recognized"
print usage