Package trac :: Package ticket :: Module report

Module report

source code

Classes
  ReportModule
Functions
 
cell_value(v)
Normalize a cell value for display.
source code
Variables
  __package__ = 'trac.ticket'

Imports: csv, re, StringIO, tag, IntOption, get_column_names, Context, IPermissionRequestor, Resource, ResourceNotFound, TicketSystem, as_int, content_disposition, format_datetime, format_time, from_utimestamp, Paginator, to_unicode, quote_query_string, _, tag_, IRequestHandler, RequestDone, add_ctxtnav, add_link, add_notice, add_script, add_stylesheet, add_warning, INavigationContributor, Chrome, IWikiSyntaxProvider, WikiParser, Component, ExtensionPoint, Interface, TracError, implements


Function Details

cell_value(v)

source code 
Normalize a cell value for display. >>> (cell_value(None), cell_value(0), cell_value(1), cell_value('v')) ('', '0', u'1', u'v')