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":
|
||||
+ command = path.basename(sys.executable) + " -m pip"
|
||||
+ 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."
|
||||
+ % command
|
||||
+ )
|
||||
|
@ -495,6 +495,7 @@ ln -sf %{buildroot}%{_bindir}/pip3 _bin/pip
|
||||
%changelog
|
||||
* 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
|
||||
- Remove a redundant second WARNING prefix form the abovementioned warning
|
||||
|
||||
* Wed May 15 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-1
|
||||
- Update to 19.1.1 (#1706995)
|
||||
|
Loading…
Reference in New Issue
Block a user