forked from pool/python-argcomplete
- Update to the version 3.5.1:
- Restore compatibility with argparse in Python 3.12.7+ - Use project.scripts instead of setuptools scripts - Test infrastructure improvements - Remove upstreamed patches: - argparse-3_12_7.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=80
This commit is contained in:
13
bash-repl.patch
Normal file
13
bash-repl.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: argcomplete-3.0.8/test/test.py
|
||||
===================================================================
|
||||
--- argcomplete-3.0.8.orig/test/test.py
|
||||
+++ argcomplete-3.0.8/test/test.py
|
||||
@@ -65,7 +65,7 @@ def _repl_sh(command, args, non_printabl
|
||||
|
||||
|
||||
def bash_repl(command="bash"):
|
||||
- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh")
|
||||
+ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh")
|
||||
sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]")
|
||||
return sh
|
||||
|
||||
Reference in New Issue
Block a user