source: projects/specs/trunk/g/guake/0001-Include-bpython-and-ipython-as-interpreters.patch @ 8096

Revision 8096, 958 bytes checked in by iwaim, 10 years ago (diff)

guake 0.4.4-2

RevLine 
[8096]1From 6d574c1ea4233bf514ee4fff68a70cefc9b034d7 Mon Sep 17 00:00:00 2001
2From: Ralph Bean <rbean@redhat.com>
3Date: Sun, 21 Apr 2013 08:44:23 -0400
4Subject: [PATCH] Include bpython and ipython as interpreters.
5
6---
7 src/prefs.py | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/src/prefs.py b/src/prefs.py
11index 6611635..cb32d5d 100644
12--- a/src/prefs.py
13+++ b/src/prefs.py
14@@ -32,8 +32,8 @@ from guake.globals import NAME, LOCALE_DIR, GCONF_PATH, KEY, ALIGN_LEFT, ALIGN_R
15 from guake.common import *
16 
17 # A regular expression to match possible python interpreters when
18-# filling interpreters combo in preferences
19-PYTHONS = re.compile('^python\d\.\d$')
20+# filling interpreters combo in preferences (including bpython and ipython)
21+PYTHONS = re.compile('^[a-z]python$|^python\d\.\d$')
22 
23 # Path to the shells file, it will be used to start to populate
24 # interpreters combo, see the next variable, its important to fill the
25--
261.8.1.4
27
Note: See TracBrowser for help on using the repository browser.