Allura/allura/lib/helpers.py
def notifications_disabled(project, disabled=True):
    """Temporarily disable email notifications on a project.

    """
    orig = project.notifications_disabled
    try:
        project.notifications_disabled = disabled
        yield
    finally:
        project.notifications_disabled = orig
Temporarily disable email notifications on a project.

    
Temporarily disable email notifications on a project.
Temporarily disable email notifications on a project .
def notifications_disabled(project, disabled=True):
    orig = project.notifications_disabled
    try:
        project.notifications_disabled = disabled
        yield
    finally:
        project.notifications_disabled = orig
def notifications_disabled ( project , disabled = True ) : orig = project . notifications_disabled try : project . notifications_disabled = disabled yield finally : project . notifications_disabled = orig
Temporarily disable email notifications on a project.
Temporarily disable email notifications on a project .
"""Temporarily disable email notifications on a project.

    """
project
disabled