From a3b03e19959728b95b1c071c401079fcfb390269 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Thu, 3 Oct 2013 14:40:39 -0700
Subject: [PATCH] Add missing distutils section to pypirc.

* modules/openstack_project/templates/pypirc.erb: Add missing required
distutils section to pypirc. This will allow twine to properly upload
pypi packages.

Change-Id: I54110695e7652bd79cb8e87c82c82eb2c156948f
---
 modules/openstack_project/templates/pypirc.erb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/openstack_project/templates/pypirc.erb b/modules/openstack_project/templates/pypirc.erb
index 87bc32b7e7..fbdd598e4d 100644
--- a/modules/openstack_project/templates/pypirc.erb
+++ b/modules/openstack_project/templates/pypirc.erb
@@ -1,3 +1,7 @@
+[distutils]
+index-servers =
+    pypi
+
 [pypi]
 repository: https://pypi.python.org/pypi
 username: <%= pypi_username %>