changeset 20:32a05d7bb214

remove hack around downstream snafu (martINI, ConfigParser)
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 25 Nov 2010 11:55:55 -0800
parents afd11b758da0
children 7ad9bbc070be
files contenttransformer/app.py setup.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contenttransformer/app.py	Wed Oct 27 09:09:37 2010 -0700
+++ b/contenttransformer/app.py	Thu Nov 25 11:55:55 2010 -0800
@@ -33,7 +33,7 @@
                 # XXX hack: -> refactor
                 if '/' in transformer_name:
                     return ContentTypeChanger(content, content_type, transformer_name)
-                return self.transformers[transformer_name](content, content_type, **self.kwargs.get(transformer_name.lower(), {})) # XXX hack around ini being retarded
+                return self.transformers[transformer_name](content, content_type, **self.kwargs.get(transformer_name, {})) 
         return FileApp(path)
 
 
--- a/setup.py	Wed Oct 27 09:09:37 2010 -0700
+++ b/setup.py	Thu Nov 25 11:55:55 2010 -0800
@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 import sys, os
 
-version = "0.3.2"
+version = "0.3.3"
 
 setup(name='contenttransformer',
       version=version,