def process_config(self):
        """
        Intended to put any code that should be run after any config reload
        event
        """
        if 'byte_unit' in self.config:
            if isinstance(self.config['byte_unit'], basestring):
                self.config['byte_unit'] = self.config['byte_unit'].split()

        if 'enabled' in self.config:
            self.config['enabled'] = str_to_bool(self.config['enabled'])

        if 'measure_collector_time' in self.config:
            self.config['measure_collector_time'] = str_to_bool(
                self.config['measure_collector_time'])

        wlist = self.config.get('metrics_whitelist', None)
        blist = self.config.get('metrics_blacklist', None)
        if (wlist and blist):
            # Raise an error if both whitelist and blacklist are specified
            raise DiamondException(
                'Both metrics_whitelist and metrics_blacklist specified ' +
                'in file %s' % self.configfile)

        # always a list so we can iterate
        if type(wlist) == str:
            wlist = [wlist]
        elif wlist is None:
            wlist = []

        if type(blist) == str:
            blist = [blist]
        elif blist is None:
            blist = []

        self.config['metrics_whitelist'] = [re.compile(x) for x in wlist]
        self.config['metrics_blacklist'] = [re.compile(x) for x in blist]

        Intended to put any code that should be run after any config reload
        event
        
src/diamond/collector.py