Fix oslotest -> `base`test

update.py was changing "oslotest" to "{base}test", so the imports
weren't valid.

Closes-Bug: #1309064
Change-Id: I557983b854f69c039ff94d2ae6a7f0b0f250eae5
This commit is contained in:
Brant Knudson 2014-04-21 19:25:18 -05:00
parent ca2c041f38
commit 94a132defa
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ def _copy_file(path, dest, base):
replacements = []
if 'rpc/' not in dest:
replacements.append(('oslo', base))
replacements.append(('oslo(?!test)', base))
replacements.append(('OSLO', base.upper()))
# Restore the imports for modules that are part of the oslo