From bd92e793964fcb31334348e08577f5a1cbca153a Mon Sep 17 00:00:00 2001 From: Nikolay Mahotkin Date: Mon, 21 Sep 2015 13:34:08 +0300 Subject: [PATCH] Fixing code-blocks in README.rst * Fixed some code-blocks which were wrong Change-Id: Ie9c2c241546f2a55bc70164642bcd8aec50077c5 --- README.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index e1609f83e2..f52ba0c8c0 100644 --- a/README.rst +++ b/README.rst @@ -181,21 +181,21 @@ Regenerating involves five steps. 1) Install the dependencies needed to compile various Python packages:: - sudo apt-get install $(bindep -b) + sudo apt-get install $(bindep -b) 2) Create a reference file (do this without your patch applied):: - generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ - -b blacklist.txt -r global-requirements.txt > baseline + generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ + -b blacklist.txt -r global-requirements.txt > baseline 3) Apply your patch and generate a new reference file:: - generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ - -b blacklist.txt -r global-requirements.txt > updated + generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ + -b blacklist.txt -r global-requirements.txt > updated 4) Diff them:: - diff -p baseline updated + diff -p baseline updated 5) Apply the patch to ``upper-constraints.txt``. This may require some fiddling. ``edit-constraint`` can do this for you **when the change