From 2545e498f2807196c4740dd4afb4df4fd4e65bcf Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 20 Feb 2013 16:49:26 -0500 Subject: Don't s/oslo/base/ for files in the rpc lib. This breaks some message envelope handling code and is not needed for any of the source files in rpc/, so just avoid it. Change-Id: I8519568be5102a5890ae5ed046d6fcebe9bbb198 --- update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.py b/update.py index 24f1a53..4694462 100644 --- a/update.py +++ b/update.py @@ -132,7 +132,8 @@ def _copy_file(path, dest, base): shutil.copy2(path, dest) - _replace(dest, 'oslo', base) + if 'rpc/' not in dest: + _replace(dest, 'oslo', base) # Restore the imports for modules that are part of the oslo # namespace package. We can't just do something like 'oslo\..+' -- cgit