From e7b5854f73b6cf4c3080ea00208a4b0226bcbb52 Mon Sep 17 00:00:00 2001 From: Andrew Bogott Date: Wed, 27 Jun 2012 15:41:53 -0500 Subject: 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 --- update.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'update.py') diff --git a/update.py b/update.py index 509f5ab..7bb0d10 100644 --- a/update.py +++ b/update.py @@ -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" % -- cgit