view roundup/exceptions.py @ 3913:00896a2acaa5

clean up query display of "Private to you" items Previously the handling of queries in the edit menu was a little wonky. If you change a query to not be private to you then you lose the ability to ever change it back to being private. Previously the queries were displayed in three chunks: First all retired queries. Then all queries private to the current user (this batch has the dropdown for toggling private state). Then all non-private queries. Now: all queries we created that are retired, all queries that we created that are not retired, then all non-private queries not created by the current user. this should fix [SF#1481394]
author Justus Pendleton <jpend@users.sourceforge.net>
date Thu, 20 Sep 2007 23:44:58 +0000
parents 3fd672293712
children 042ace5ddb7c
line wrap: on
line source

#$Id: exceptions.py,v 1.1 2004-03-26 00:44:11 richard Exp $
'''Exceptions for use across all Roundup components.
'''

__docformat__ = 'restructuredtext'

class Reject(Exception):
    '''An auditor may raise this exception when the current create or set
    operation should be stopped.

    It is up to the specific interface invoking the create or set to
    handle this exception sanely. For example:

    - mailgw will trap and ignore Reject for file attachments and messages
    - cgi will trap and present the exception in a nice format
    '''
    pass

# vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/