From 25e228d1140327293e9123c3702b995cd4a68549 Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Tue, 2 Aug 2011 14:18:06 +0200 Subject: [PATCH] add testertest --- testertest.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 testertest.py diff --git a/testertest.py b/testertest.py new file mode 100755 index 0000000..fad6772 --- /dev/null +++ b/testertest.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import git + +print git + +import git,os + +print git.repo.Repo() +print os.environ.get("GIT_OLD_ID") +print os.environ.get("GIT_NEW_ID") + + +choice = os.environ.get("GIT_TEST") + +if choice == "stable": + print ("You choose the stable environment.") +elif choice == "testing": + print ("You choose the testing environment.") +elif choice == "unstable": + print ("You choose the unstable environment. Good luck!") + + +for name, value in os.environ.items(): + print "%s\t= %s " % (name, value) + -- 2.39.5