Commit 25d961f8 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

update ccplugin usage so command is properly registered

parent a61a492cc245
......@@ -12,6 +12,7 @@ from cStringIO import StringIO
from logilab.common.clcommands import register_commands, pop_arg
from cubicweb.toolsutils import CONNECT_OPTIONS, Command, config_connect
from cubicweb.cwctl import CWCTL
from cubes.email.mboximport import MBOXImporter
......@@ -64,4 +65,4 @@ class MBOXImportCommand(Command):
raise
cnx.close()
register_commands((MBOXImportCommand,))
CWCTL.register(MBOXImportCommand)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment