def drop_exclude_fields():

    # Get the list of fields to exclude (passed as an argument)
    exclude_fields = args.exclude_fields
    if exclude_fields != None:
        logger.info('Deleting fields: ' + exclude_fields)

        # If commas are used instead of semi-colons, swap them
        exclude_fields = exclude_fields.replace(',',';')
        arcpy.DeleteField_management(staging_feature_class, exclude_fields)
Find all valid commands in a directory
dataset/ETHPy150Open opencolorado/OpenColorado-Tools-and-Utilities/Scripts/ArcGIS/10.0/Python/PublishOpenDataset.py/drop_exclude_fields--crossover with--dataset/ETHPy150Open VikParuchuri/percept/percept/management/base.py/find_all_commands