| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1991,14 +1991,18 @@ def main_curses(scr, args, config, interactive=True, locals_=None, banner=None): | |||
| 1991 | 1991 | ||
| 1992 | 1992 | # XXX these deprecation warnings need to go at some point | |
| 1993 | 1993 | clirepl.write( | |
| 1994 | - "WARNING: You are using `bpython-cli`, the curses backend for `bpython`. This backend has been deprecated in version 0.19 and might disappear in a future version." | ||
| 1994 | + _( | ||
| 1995 | + "WARNING: You are using `bpython-cli`, the curses backend for `bpython`. This backend has been deprecated in version 0.19 and might disappear in a future version." | ||
| 1996 | + ) | ||
| 1995 | 1997 | ) | |
| 1996 | 1998 | clirepl.write("\n") | |
| 1997 | 1999 | ||
| 1998 | 2000 | if sys.version_info[0] == 2: | |
| 1999 | 2001 | # XXX these deprecation warnings need to go at some point | |
| 2000 | 2002 | clirepl.write( | |
| 2001 | - "WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version." | ||
| 2003 | + _( | ||
| 2004 | + "WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version." | ||
| 2005 | + ) | ||
| 2002 | 2006 | ) | |
| 2003 | 2007 | clirepl.write("\n") | |
| 2004 | 2008 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -205,7 +205,9 @@ def main(args=None, locals_=None, banner=None, welcome_message=None): | |||
| 205 | 205 | if sys.version_info[0] == 2: | |
| 206 | 206 | # XXX these deprecation warnings need to go at some point | |
| 207 | 207 | print( | |
| 208 | - "WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version." | ||
| 208 | + _( | ||
| 209 | + "WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version." | ||
| 210 | + ) | ||
| 209 | 211 | ) | |
| 210 | 212 | ||
| 211 | 213 | global repl | |
| Back | FazBrowse Home | New Git URL |
0 commit comments