summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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\..+'