0001-Include-bpython-and-ipython-as-interpreters.patch 958 B

123456789101112131415161718192021222324252627
  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. src/prefs.py | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/src/prefs.py b/src/prefs.py
  9. index 6611635..cb32d5d 100644
  10. --- a/src/prefs.py
  11. +++ b/src/prefs.py
  12. @@ -32,8 +32,8 @@ from guake.globals import NAME, LOCALE_DIR, GCONF_PATH, KEY, ALIGN_LEFT, ALIGN_R
  13. from guake.common import *
  14. # A regular expression to match possible python interpreters when
  15. -# filling interpreters combo in preferences
  16. -PYTHONS = re.compile('^python\d\.\d$')
  17. +# filling interpreters combo in preferences (including bpython and ipython)
  18. +PYTHONS = re.compile('^[a-z]python$|^python\d\.\d$')
  19. # Path to the shells file, it will be used to start to populate
  20. # interpreters combo, see the next variable, its important to fill the
  21. --
  22. 1.8.1.4