Products.MightyCal.Consoles.Const (version 1.10) | index /home/zope/lib/python/Products/MightyCal/Consoles/Const.py |
Constants module. Defines names for important objects, permissions, and locations for files. MightyCal makes extensive use of constants. This is for two reasons: First, by defining a constant and making reference to it by name, any misspellings can be caught at bytecode compilation time (thus avoiding difficult-to-track bugs resulting from misspelled string constants). Second, nicer, Englishy names can be given to some items which have ugly values.
Data | ||
CALENDARS_COLUMN = 'Calendar Summaries Column' CALENDAR_SUMMARIES_PANEL = 'CalendarSummariesPanel' CALENDAR_SUMMARIES_PANEL_TITLE = 'Summaries of Calendars' MIGHTYCAL_COLUMN = 'MightyCal Overview Column' MIGHTYCAL_OVERVIEW_PANEL = 'MightyCalOverviewPanel' MIGHTYCAL_OVERVIEW_PANEL_TITLE = 'Overview of MightyCal Instance' MIGHTYCAL_QUICKOPS_PANEL = 'MightyCalQuickOpsPanel' MIGHTYCAL_QUICKOPS_PANEL_TITLE = 'Quick Operations for the MightyCal' __file__ = '/home/zope/lib/python/Products/MightyCal/Consoles/Const.pyc' __name__ = 'Products.MightyCal.Consoles.Const' __version__ = '$Revision: 1.10 $' |