/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.xwiki.rendering.internal.macro.python;

import org.xwiki.component.annotation.Component;
import org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor;
import org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro;
import org.xwiki.rendering.macro.script.JSR223ScriptMacroParameters;

/**
 * A macro for executing ruby scripts.
 * 
 * @version $Id$
 * @since 2.0M2
 */
@Component(hints = {"python", "jython" })
public class PythonMacro extends AbstractJSR223ScriptMacro<JSR223ScriptMacroParameters>
{
    /**
     * The description of the macro.
     */
    private static final String DESCRIPTION = "Executes a python script.";

    /**
     * The description of the macro content.
     */
    private static final String CONTENT_DESCRIPTION = "The python script to execute";

    /**
     * Create and initialize the descriptor of the macro.
     */
    public PythonMacro()
    {
        super("Python", DESCRIPTION, new DefaultContentDescriptor(CONTENT_DESCRIPTION));
    }
}

@@ -1294,37 +1294,16 @@
 ent(
-hints = %7B%22python%22, %22jython%22 %7D
+%22python%22
 )%0Apu

Create jython macro for rendering 2.0 * remove "jython" hint until we find a better solution from the WYSIWYG POV