File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1313from bpython .curtsiesfrontend .repl import Repl
1414from bpython .curtsiesfrontend .coderunner import SystemExitFromCodeGreenlet
1515from bpython import args as bpargs
16+ from bpython import translations
1617from bpython .translations import _
1718from bpython .importcompletion import find_iterator
1819from bpython .curtsiesfrontend import events as bpythonevents
2526
2627
2728def main (args = None , locals_ = None , banner = None ):
29+ translations .init ()
30+
2831 config , options , exec_args = bpargs .parse (args , (
2932 'curtsies options' , None , [
3033 Option ('--log' , '-L' , action = 'count' ,
Original file line number Diff line number Diff line change 2929from bpython .config import Struct , loadini , default_config_path
3030from bpython .formatter import BPythonFormatter
3131from bpython import autocomplete , importcompletion
32- from bpython import translations ; translations .init ()
3332from bpython .translations import _
3433from bpython ._py3compat import py3
3534from bpython .pager import get_pager_command
You can’t perform that action at this time.
0 commit comments