From fbe9d4e4e50dfa48aeda9672549f7c5bf33bede5 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Thu, 25 Sep 2008 10:19:56 -0400 Subject: [PATCH] Update check_galaxy for new twill. --- scripts/check_galaxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check_galaxy.py b/scripts/check_galaxy.py index 572b22388b9..faf9df58e6b 100755 --- a/scripts/check_galaxy.py +++ b/scripts/check_galaxy.py @@ -190,7 +190,7 @@ class Browser: tc.fv("1", "password", pw) tc.submit("Login") tc.code(200) - if len(tc.get_browser()._browser.forms()) > 0: + if len(tc.get_browser().get_all_forms()) > 0: # uh ohs, fail p = userParser() p.feed(tc.browser.get_html()) @@ -210,7 +210,7 @@ class Browser: tc.fv("1", "confirm", pw) tc.submit("Create") tc.code(200) - if len(tc.get_browser()._browser.forms()) > 0: + if len(tc.get_browser().get_all_forms()) > 0: p = userParser() p.feed(tc.browser.get_html()) if p.already_exists: