From 13e1984bbdc8ca6da3720cc0db2d32082ade788d Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 28 Sep 2012 18:08:15 -0400 Subject: [PATCH] zephyr_mirror: Fix last hardcoding of starnine@mit.edu. (imported from commit de2a00451428ecdc44380528e4ca88bfeacdb9ab) --- zephyr/zephyr_mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/zephyr_mirror.py b/zephyr/zephyr_mirror.py index db54646613..33d6311349 100644 --- a/zephyr/zephyr_mirror.py +++ b/zephyr/zephyr_mirror.py @@ -64,8 +64,8 @@ def browser_login(): browser.open("https://app.humbughq.com/") browser.follow_link(text_regex="\s*Log in\s*") browser.select_form(nr=0) - browser["username"] = "starnine@mit.edu" - browser["password"] = "xxxxxxxx" + browser["username"] = os.environ["USER"] + "@mit.edu" + browser["password"] = os.environ["USER"] global csrf_token csrf_token = browser["csrfmiddlewaretoken"]