summaryrefslogtreecommitdiffstats
path: root/update.py
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2013-02-20 16:49:26 -0500
committerRussell Bryant <rbryant@redhat.com>2013-02-20 16:49:26 -0500
commit2545e498f2807196c4740dd4afb4df4fd4e65bcf (patch)
tree500b193b2ef25d0f1376a82e34e61c307ac05c19 /update.py
parent7e6513dedc58577c187d69d576659bc7f2ed7a87 (diff)
downloadoslo-2545e498f2807196c4740dd4afb4df4fd4e65bcf.tar.gz
oslo-2545e498f2807196c4740dd4afb4df4fd4e65bcf.tar.xz
oslo-2545e498f2807196c4740dd4afb4df4fd4e65bcf.zip
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
Diffstat (limited to 'update.py')
-rw-r--r--update.py3
1 files changed, 2 insertions, 1 deletions
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\..+'