Fix typo in the sudo pip warning

This commit is contained in:
Tomas Orsava 2017-03-21 12:09:02 +01:00
parent 5a8e99c9e5
commit d6fcf17a6e
2 changed files with 5 additions and 2 deletions

View File

@ -31,7 +31,7 @@ index 227c526..277a3d1 100644
+ # Check whether we have root privileges and aren't in venv/virtualenv
+ if os.getuid() == 0 and not is_venv():
+ logger.warning(
+ "WARNING: Running pip install with root privileges is"
+ "WARNING: Running pip install with root privileges is "
+ "generally not a good idea. Try `%s install --user` instead."
+ % path.basename(sys.argv[0])
+ )

View File

@ -17,7 +17,7 @@
Name: python-%{srcname}
Version: 9.0.1
Release: 8%{?dist}
Release: 9%{?dist}
Summary: A tool for installing and managing Python packages
Group: Development/Libraries
@ -244,6 +244,9 @@ py.test-%{python3_version} -m 'not network'
%endif # with_python3
%changelog
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-9
- Fix typo in the sudo pip warning
* Fri Mar 03 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-8
- Patch 1 update: No sudo pip warning in venv or virtualenv