summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2017-06-15 14:33:18 +0100
committerStephen Finucane <sfinucan@redhat.com>2017-06-15 14:33:18 +0100
commit18df043b5a0d75baf311e4f4bb3c64a6f0de7373 (patch)
tree800fb0c8a0ebe85364a381d96ca7b6d7998cd19f
parent208b87691a0014cfe0fde11e453bf2965505d76c (diff)
Move notesdir default to 'defaults' module
We're going to use this shortly. Change-Id: I7382ee143c7fb19b19e52ac6c37960242fde8628
Notes
Notes (review): Code-Review+2: Doug Hellmann <doug@doughellmann.com> Code-Review+1: Rajath Agasthya <rajagast@cisco.com> Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Workflow+1: Andreas Jaeger <jaegerandi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sat, 17 Jun 2017 17:25:06 +0000 Reviewed-on: https://review.openstack.org/475032 Project: openstack/reno Branch: refs/heads/master
-rw-r--r--reno/config.py2
-rw-r--r--reno/defaults.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/reno/config.py b/reno/config.py
index 03d0362..4783568 100644
--- a/reno/config.py
+++ b/reno/config.py
@@ -95,7 +95,7 @@ class Config(object):
95 _OPTS = { 95 _OPTS = {
96 # The notes subdirectory within the relnotesdir where the 96 # The notes subdirectory within the relnotesdir where the
97 # notes live. 97 # notes live.
98 'notesdir': 'notes', 98 'notesdir': defaults.NOTES_SUBDIR,
99 99
100 # Should pre-release versions be merged into the final release 100 # Should pre-release versions be merged into the final release
101 # of the same number (1.0.0.0a1 notes appear under 1.0.0). 101 # of the same number (1.0.0.0a1 notes appear under 1.0.0).
diff --git a/reno/defaults.py b/reno/defaults.py
index 1b2cf00..b30a18d 100644
--- a/reno/defaults.py
+++ b/reno/defaults.py
@@ -11,3 +11,4 @@
11# under the License. 11# under the License.
12 12
13RELEASE_NOTES_SUBDIR = 'releasenotes' 13RELEASE_NOTES_SUBDIR = 'releasenotes'
14NOTES_SUBDIR = 'notes'