diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-06-15 21:03:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-06-17 12:10:17 +0200 |
commit | c8ac88e4cbea0e59e71422ef18d28909108827b2 (patch) | |
tree | e89b42ab195149049377f39a233f32f3ab15c532 /metadata/md5-cache/dev-python/spyder-line-profiler-0.3.1-r1 | |
parent | python-utils-r1.eclass: Use @a instead of declare check for array (diff) | |
download | gentoo-c8ac88e4cbea0e59e71422ef18d28909108827b2.tar.gz gentoo-c8ac88e4cbea0e59e71422ef18d28909108827b2.tar.bz2 gentoo-c8ac88e4cbea0e59e71422ef18d28909108827b2.zip |
pypi.eclass: Do extglob reset unconditionally
Change _pypi_normalize_name() to reset extglob unconditionally. This
function is called only in two contexts:
- inside a subshell, therefore making it unnecessary to restore
the original extglob value,
- in global scope, via _pypi_set_globals, where we know that extglob
is not supposed to be set.
This makes the code simpler.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/31465
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'metadata/md5-cache/dev-python/spyder-line-profiler-0.3.1-r1')
0 files changed, 0 insertions, 0 deletions