def get_metadata(callbackarg, reconciliation_type):
    
    reconciliation_name = 'sunlight reporting reconcile 0.1'
    PREVIEW_BASE = ""
    if (reconciliation_type=='fec_ids' or reconciliation_type == 'fec_ids_nofuzzy'):
        reconciliation_name = 'fec id matcher - no fuzzy lookups 0.1'
        if (reconciliation_type=='fec_ids'):
            reconciliation_name = 'fec id matcher 0.1'            
        PREVIEW_BASE = ('fec_ids') % PREVIEW_BASE_URL
        
    else:
        return Http404
    """
    elif (reconciliation_type=='legislators'):
        reconciliation_name = 'legislators matcher 0.1'
        PREVIEW_BASE = PREVIEW_BASE_URL % ('legislators')
    """
    
    # setting the URL to the preview...
    return render_to_json_via_template("reconciliation/service_metadata.json", {
        'space_base':"http://reporting.sunlightfoundation.com/",
        'url_base':PREVIEW_BASE,
        'preview_base':PREVIEW_BASE,
        'reconciliation_name':reconciliation_name, 
        'callbackarg':callbackarg,
        'preview_width':PREVIEW_WIDTH,
        'preview_height':PREVIEW_HEIGHT
    })
dataset/ETHPy150Open sunlightlabs/read_FEC/fecreader/reconciliation/views.py/get_metadata/swapped operands of `%`