diff options
author | Andrew Bogott <abogott@wikimedia.org> | 2012-06-27 15:41:53 -0500 |
---|---|---|
committer | Andrew Bogott <abogott@wikimedia.org> | 2012-06-27 15:47:20 -0500 |
commit | e7b5854f73b6cf4c3080ea00208a4b0226bcbb52 (patch) | |
tree | 0d9329ea8e269a8cd49d180b0e3d47aee0b4b11e /update.py | |
parent | 71cddc514ac194e2332817673ef76c099dc158cc (diff) | |
download | oslo-e7b5854f73b6cf4c3080ea00208a4b0226bcbb52.tar.gz oslo-e7b5854f73b6cf4c3080ea00208a4b0226bcbb52.tar.xz oslo-e7b5854f73b6cf4c3080ea00208a4b0226bcbb52.zip |
Update strings like 'openstack.common.notifier.driver'.
I was running into trouble with driver names that were generically named
in common but need to point to specific objects within nova.
Change-Id: Ie75761c73a855b067b1bcec651a1bb998deba9f4
Diffstat (limited to 'update.py')
-rw-r--r-- | update.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -151,6 +151,14 @@ def _copy_file(path, base, dest_dir): '^from openstack.common', 'from ' + base + '.openstack.common') + _replace(dest, + '\'openstack\.common', + '\'' + base + '.openstack.common') + + _replace(dest, + '\"openstack\.common', + '\"' + base + '.openstack.common') + def _copy_module(mod, base, dest_dir): print ("Copying openstack.common.%s under the %s module in %s" % |