Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Unified Diff: Tools/TestResultServer/handlers/menu.py

Issue 14833004: Revert "Change TestResultServer to use python 2.7." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/TestResultServer/app.yaml ('k') | Tools/TestResultServer/handlers/testfilehandler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/TestResultServer/handlers/menu.py
diff --git a/Tools/TestResultServer/handlers/menu.py b/Tools/TestResultServer/handlers/menu.py
index 7b5403a191873657644f165827d2621cbc2cd42d..f15e53c1a07b9195ae20ed9248c9161441096914 100644
--- a/Tools/TestResultServer/handlers/menu.py
+++ b/Tools/TestResultServer/handlers/menu.py
@@ -26,9 +26,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import webapp2
-
from google.appengine.api import users
+from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
dashboards = [
@@ -45,7 +44,7 @@ menu = [
]
-class Menu(webapp2.RequestHandler):
+class Menu(webapp.RequestHandler):
def get(self):
user = users.get_current_user()
if user:
« no previous file with comments | « Tools/TestResultServer/app.yaml ('k') | Tools/TestResultServer/handlers/testfilehandler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698