Allow notification interface to not wrap text (#3728)

This commit is contained in:
Erica Portnoy
2016-11-07 16:14:09 -08:00
committed by schoen
parent df10a6431b
commit 2b229d4b9d
2 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -365,12 +365,13 @@ class IInstaller(IPlugin):
class IDisplay(zope.interface.Interface):
"""Generic display."""
def notification(message, pause):
def notification(message, pause, wrap=True):
"""Displays a string message
:param str message: Message to display
:param bool pause: Whether or not the application should pause for
confirmation (if available)
:param bool wrap: Whether or not the application should wrap text
"""