Make sure all files have encoding set to utf-8 unless they already have an encoding Added COPYING with contense of GPL-2 Added plugin name prefix to all log output. This should take the form of self.log.severity("Plugin: message"), when not logging from plugin.py use: "Plugin/file_without_dot_py: message" Bantracker: Made the confgure() function do something, it also creates an initial database if it doesn't exist Encyclopedia: Made the configure() function do something, it also creates an initial database if it doesn't exist PackageInfo: Improve the configure() function, it also now creates some initial .list files and prompts to run update_apt and update_apt_file This goes some way to getting an "ubottu" package together, all we need to do is patch supybot-wizard to download the plugins from bzr and put them somewhere supybot will see them, then the wizard will do all the initial setup
18 lines
651 B
Python
18 lines
651 B
Python
# -*- Encoding: utf-8 -*-
|
|
# Components
|
|
from icalendar.cal import Calendar, Event, Todo, Journal
|
|
from icalendar.cal import FreeBusy, Timezone, Alarm, ComponentFactory
|
|
|
|
# Property Data Value Types
|
|
from icalendar.prop import vBinary, vBoolean, vCalAddress, vDatetime, vDate, \
|
|
vDDDTypes, vDuration, vFloat, vInt, vPeriod, \
|
|
vWeekday, vFrequency, vRecur, vText, vTime, vUri, \
|
|
vGeo, vUTCOffset, TypesFactory
|
|
|
|
# useful tzinfo subclasses
|
|
from icalendar.prop import FixedOffset, UTC, LocalTimezone
|
|
|
|
# Parameters and helper methods for splitting and joining string with escaped
|
|
# chars.
|
|
from icalendar.parser import Parameters, q_split, q_join
|