summaryrefslogtreecommitdiff
path: root/pbr/hooks
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-07-23 10:30:35 -0700
committerMonty Taylor <mordred@inaugust.com>2013-07-23 16:16:24 -0700
commit5b2116aad0fdffb94206b327f7a20ee077a3cae2 (patch)
treeaea4efdea093c2983b805858bb002a1f14ab8c5f /pbr/hooks
parent24c38b34c7f7c3074aef884013a1895c01fa93e6 (diff)
downloadpbr-5b2116aad0fdffb94206b327f7a20ee077a3cae2.tar.gz
Revert include_package_data change
Setting the value directly in kwargs is not doing what we want it to do. This is largely because of how the hook system works. When the hooks process backwards_compat, they do a config.get('backwards_compat', dict()), which is then written back to the config dict - which means that blank override values are being fed in. Later we can go through and just re-engineer how that works. For now, unbreak nova. Change-Id: I0c6055253cbc89b6884553e6f2fbfe8a7bbd1953
Diffstat (limited to 'pbr/hooks')
-rw-r--r--pbr/hooks/backwards.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbr/hooks/backwards.py b/pbr/hooks/backwards.py
index de92eef..d9183b3 100644
--- a/pbr/hooks/backwards.py
+++ b/pbr/hooks/backwards.py
@@ -24,6 +24,7 @@ class BackwardsCompatConfig(base.BaseConfig):
section = 'backwards_compat'
def hook(self):
+ self.config['include_package_data'] = 'True'
packaging.append_text_list(
self.config, 'dependency_links',
packaging.parse_dependency_links())