Part of lp.app.browser.launchpad View In Hierarchy
The maintenance message shows the approximate time before launchpad will be taken offline for maintenance.
The control file is +maintenancetime.txt in the launchpad root.
If there is no maintenance message, an empty string is returned.
If the maintenance time is too far in the future, then an empty string is returned.
If the maintenance time is in the past, then the maintenance message says that Launchpad will go offline "very very soon".
If the text in the maintenance message is poorly formatted, then an empty string is returned, and a warning should be logged.
Method | __call__ | Undocumented |