Rev | Line | |
---|
[8096] | 1 | From 6d574c1ea4233bf514ee4fff68a70cefc9b034d7 Mon Sep 17 00:00:00 2001 |
---|
| 2 | From: Ralph Bean <rbean@redhat.com> |
---|
| 3 | Date: Sun, 21 Apr 2013 08:44:23 -0400 |
---|
| 4 | Subject: [PATCH] Include bpython and ipython as interpreters. |
---|
| 5 | |
---|
| 6 | --- |
---|
| 7 | src/prefs.py | 4 ++-- |
---|
| 8 | 1 file changed, 2 insertions(+), 2 deletions(-) |
---|
| 9 | |
---|
| 10 | diff --git a/src/prefs.py b/src/prefs.py |
---|
| 11 | index 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 | -- |
---|
| 26 | 1.8.1.4 |
---|
| 27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.