From ff66eb610a8a53a5805c233db191f2670fbafe44 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Thu, 3 Oct 2013 15:13:41 -0700
Subject: [PATCH] Specific twine repository when publishing packages

* modules/jenkins/files/slave_scripts/pypi-upload.sh: Specify pypi as
the repository when uploading python packages to pypi. Not doing this
results in a key error when twine attempts to look up the repository.

Change-Id: I7e3c6398710e9b69d1c4576a1e2417e4ca156b97
---
 modules/jenkins/files/slave_scripts/pypi-upload.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/jenkins/files/slave_scripts/pypi-upload.sh b/modules/jenkins/files/slave_scripts/pypi-upload.sh
index 19e5f62d4c..815bd1ea84 100755
--- a/modules/jenkins/files/slave_scripts/pypi-upload.sh
+++ b/modules/jenkins/files/slave_scripts/pypi-upload.sh
@@ -33,4 +33,4 @@ curl --fail -o $FILENAME http://$TARBALL_SITE/$PROJECT/$FILENAME
 # Make sure we actually got a gzipped file
 file -b $FILENAME | grep gzip
 
-twine upload $FILENAME
+twine upload -r pypi $FILENAME