summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/patches/0001-force-python3.patch
blob: 2379e7d0869792af41fe683035a5f12769d33c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -x '.git*' -x '*.swp' -x '*.orig' -x '*.rej' -Naur xdgmenumaker-1.5/src/xdgmenumaker xdgmenumaker-1.5.debian/src/xdgmenumaker
--- xdgmenumaker-1.5/src/xdgmenumaker	2018-09-16 15:42:50.000000000 -0400
+++ xdgmenumaker-1.5.debian/src/xdgmenumaker	2020-01-05 08:52:55.880931853 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # coding: utf-8
 # vim:et:sta:sts=4:sw=4:ts=8:tw=79:
 
@@ -151,7 +151,7 @@
 terminal_app = os.getenv("XDGMENUMAKERTERM")
 if not terminal_app:
     try:
-        config = cp.SafeConfigParser()
+        config = cp.ConfigParser()
         config.read(os.path.expanduser('~/.config/xdgmenumaker.cfg'))
         terminal_app = config.get('Terminal', 'terminal')
     # if there isn't, on debian and debian-likes, use the alternatives
bgstack15