changeset 1667:0104f76e30d0

items/__init__.py: Remove Ticket stub and call load_package_modules there.
author Cheer Xiao <xiaqqaix@gmail.com>
date Sun, 12 Aug 2012 15:44:27 +0800
parents c7cc251e08bd
children 237f790c0290
files MoinMoin/items/__init__.py
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun Aug 12 15:32:28 2012 +0800
+++ b/MoinMoin/items/__init__.py	Sun Aug 12 15:44:27 2012 +0800
@@ -629,14 +629,6 @@
 
 
 @register
-class Ticket(Contentful):
-    """
-    Stub for ticket item class.
-    """
-    itemtype = u'ticket'
-
-
-@register
 class Userprofile(Item):
     """
     Currently userprofile is implemented as a contenttype. This is a stub of an
@@ -713,3 +705,7 @@
     class _ModifyForm(Default._ModifyForm):
         meta_form = BlogEntryMetaForm
         meta_template = 'modify_blog_entry_meta.html'
+
+
+from ..util.pysupport import load_package_modules
+load_package_modules(__name__, __path__)