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