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

  • src/prefs.py

    From 6d574c1ea4233bf514ee4fff68a70cefc9b034d7 Mon Sep 17 00:00:00 2001
    From: Ralph Bean <rbean@redhat.com>
    Date: Sun, 21 Apr 2013 08:44:23 -0400
    Subject: [PATCH] Include bpython and ipython as interpreters.
    
    ---
     src/prefs.py | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/prefs.py b/src/prefs.py
    index 6611635..cb32d5d 100644
    a b from guake.globals import NAME, LOCALE_DIR, GCONF_PATH, KEY, ALIGN_LEFT, ALIGN_R 
    3232from guake.common import * 
    3333 
    3434# A regular expression to match possible python interpreters when 
    35 # filling interpreters combo in preferences 
    36 PYTHONS = re.compile('^python\d\.\d$') 
     35# filling interpreters combo in preferences (including bpython and ipython) 
     36PYTHONS = re.compile('^[a-z]python$|^python\d\.\d$') 
    3737 
    3838# Path to the shells file, it will be used to start to populate 
    3939# interpreters combo, see the next variable, its important to fill the 
Note: See TracBrowser for help on using the repository browser.