Commits

Nicolas Évrard committed 84b52bc

Add support for rietveld instances running on localhost

Comments (0)

Files changed (1)

hgreview/rietveld.py

 
     # If this is the dev_appserver, use fake authentication.
     host = (host_override or server).lower()
-    if host == "localhost" or host.startswith("localhost:"):
+    if 'localhost' in host:
         if email is None:
           email = "test@example.com"
           logging.info("Using debug user %s.  Override with --email" % email)