Remove a redundant second WARNING prefix form the root warning
It is added automatically since 19.1.
This commit is contained in:
parent
de5ce17674
commit
853f763a7e
@ -27,7 +27,7 @@ index 1279d4a..aeb9d26 100644
|
|||||||
+ if command == "__main__.py":
|
+ if command == "__main__.py":
|
||||||
+ command = path.basename(sys.executable) + " -m pip"
|
+ command = path.basename(sys.executable) + " -m pip"
|
||||||
+ logger.warning(
|
+ logger.warning(
|
||||||
+ "WARNING: Running pip install with root privileges is "
|
+ "Running pip install with root privileges is "
|
||||||
+ "generally not a good idea. Try `%s install --user` instead."
|
+ "generally not a good idea. Try `%s install --user` instead."
|
||||||
+ % command
|
+ % command
|
||||||
+ )
|
+ )
|
||||||
|
@ -495,6 +495,7 @@ ln -sf %{buildroot}%{_bindir}/pip3 _bin/pip
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 10 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-2
|
* Mon Jun 10 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-2
|
||||||
- Fix root warning when pip is invoked via python -m pip
|
- Fix root warning when pip is invoked via python -m pip
|
||||||
|
- Remove a redundant second WARNING prefix form the abovementioned warning
|
||||||
|
|
||||||
* Wed May 15 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-1
|
* Wed May 15 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-1
|
||||||
- Update to 19.1.1 (#1706995)
|
- Update to 19.1.1 (#1706995)
|
||||||
|
Loading…
Reference in New Issue
Block a user