diff -r dcb67a8f24be -r 8103d18907a0 utils.py --- a/utils.py Mon Feb 09 01:17:32 2009 +0200 +++ b/utils.py Mon Feb 09 03:05:43 2009 +0200 @@ -32,33 +32,6 @@ return chan.id -class URLFormatterName (URLType) : - """ - Handle LogFormatter names in URLs. Note that they evaluate into the LogFormatter class itself, not an - instance, although build requiers an instance - """ - - def __init__ (self, formatters) : - """ - Use the given { name -> class LogFormatter } dict - """ - - self.formatters = formatters - - def parse (self, fmt_name) : - """ - fmt_name -> class LogFormatter - """ - - return self.formatters[fmt_name] - - def build (self, fmt) : - """ - LogFormatter -> fmt_name - """ - - return fmt.name - class URLDateType (URLType) : """ Handle dates in URLs as naive datetime objects (with indeterminate time info)