def dir_poller(self):
        orig_mod_timestamp = os.stat(self.configd_dir).st_mtime
        while True:
            time.sleep(0.5)
            try:
                now_mod_timestamp = os.stat(self.configd_dir).st_mtime
            except OSError:
                # TODO couldn't get the mtime of the configd_dir!
                # wtf!  I think it's time to exit cleanly?
                continue
            else:
                if now_mod_timestamp != orig_mod_timestamp:
                    # configd_dir has seen changes (its mtime has
                    # changed), so it's time to generate new config and
                    # save the new timestamp for later comparisons.
                    logger.debug('Generating combined config')
                    self.generate_config()
                    orig_mod_timestamp = now_mod_timestamp
Set a twitter.User reprenting the entity posting this status message.
dataset/ETHPy150Open markhellewell/sshconfigfs/sshconfigfs.py/SSHConfigFS.dir_poller--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Status.SetUser