Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ka_extensionpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'ka_extensionpoint.py')
-rw-r--r--ka_extensionpoint.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/ka_extensionpoint.py b/ka_extensionpoint.py
index 558b8e9..aae9353 100644
--- a/ka_extensionpoint.py
+++ b/ka_extensionpoint.py
@@ -1,5 +1,5 @@
# coding: UTF-8
-# Copyright 2009 Thomas Jourdan
+# Copyright 2009, 2010 Thomas Jourdan
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -54,10 +54,6 @@ def create(extension_key, *params):
if str(type(value)) == "<type 'type'>":
a_class = getattr(a_module, key)
return a_class(*params)
-# if len(params) == 0:
-# return a_class()
-# elif len(params) == 1:
-# return a_class(params[0])
def _add(extension_type, extension_class):
if extension_type not in _extension_types: