"""
Checks if the autoinstall is viewable from the web.
"""
- out = []
- if not self.application.checkWeb(self, out):
- raise WebVerificationError(out[0])
+ if not self.application.checkWeb(self):
+ raise WebVerificationError
def fetch(self, path, post=None):
"""
Performs a HTTP request on the website.
class WebVerificationError(Error):
"""Could not access the application on the web"""
- #: Contents of web page access
- contents = None
- def __init__(self, contents):
- self.contents = contents
def __str__(self):
return """
ERROR: We were not able to access the application on the
web. This may indicate that the website is behind
-authentication on the htaccess level. The contents
-of the page were:
-
-%s""" % self.contents
+authentication on the htaccess level. You can find
+the contents of the page from the debug backtraces."""
class UnknownWebPath(Error):
"""Could not determine application's web path."""