# -*- coding: utf-8 -*-


class OmitFieldPipeline(object):
    def process_item(self, item, spider):
        for key in item.copy():
            if not item[key]:
                item[key]=None
        return item

ea2324f4bbe185453f89ed77a5af4d5d5a1bfb18
<mask token>

class OmitFieldPipeline(object):
    <mask token>

class OmitFieldPipeline(object):

    def process_item(self, item, spider):
        for key in item.copy():
            if not item[key]:
                item[key] = None
        return item

# -*- coding: utf-8 -*-


class OmitFieldPipeline(object):
    def process_item(self, item, spider):
        for key in item.copy():
            if not item[key]:
                item[key]=None
        return item
