From d856ed8d6905573fd03bcd5026bfc571fcbfb57c Mon Sep 17 00:00:00 2001 From: OlgaGusarenko Date: Wed, 25 Mar 2015 13:53:50 +0200 Subject: [PATCH] Removing *.pyc files after applying a patch Adds to a patching procedure that one needs to delete appropriate *.pyc files after applying a patch and before restarting a service. Change-Id: Id5736403614478fcfa1e1006f98516ef44da4e01 --- pages/operations/patch/0050-apply-patch.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/operations/patch/0050-apply-patch.rst b/pages/operations/patch/0050-apply-patch.rst index 0c54c5393..29276c4e2 100644 --- a/pages/operations/patch/0050-apply-patch.rst +++ b/pages/operations/patch/0050-apply-patch.rst @@ -45,3 +45,5 @@ we’re patching nova.:: patching file /usr/share/pyshared/nova/baserpc.py .. note:: Ignore the message “can’t find file to patch at input line XX”. The reason it occurs is that the patch is not aware of the filesystem layout. + +.. note:: After applying the patch, but before restarting the service, it is highly recommended to remove the ``*.pyc`` and ``*.pyo`` files from the corresponding directory.