From 237f127d21c668fbd1792501ec9a548292ede4d4 Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Tue, 27 Nov 2018 09:12:08 -0500 Subject: [PATCH] The leading zero isn't actually necessary. --- lib/ansible/modules/packaging/language/pip.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/ansible/modules/packaging/language/pip.py b/lib/ansible/modules/packaging/language/pip.py index 3fc7abc4145..5863d770f4f 100644 --- a/lib/ansible/modules/packaging/language/pip.py +++ b/lib/ansible/modules/packaging/language/pip.py @@ -100,11 +100,10 @@ options: useful, for example, when installing on systems that have a very restrictive umask by default (e.g., "0077") and you want to pip install packages which are to be used by all users. Note that this requires you - to specify desired umask mode as an octal string, with a leading 0 - (e.g., "0022"). Specifying the mode as a decimal integer (e.g., 22) - will also work, but an octal integer (e.g., 0022) will be converted to - decimal (18) before evaluation, which is almost certainly not what was - intended. + to specify desired umask mode as an octal string, (e.g., "0022"). + Specifying the mode as a decimal integer (e.g., 22) will also work, but + an octal integer (e.g., 0022) will be converted to decimal (18) before + evaluation, which is almost certainly not what was intended. version_added: "2.1" notes: - Please note that virtualenv (U(http://www.virtualenv.org/)) must be