in uberpoet/statemanagement.py [0:0]
def restore_buckconfig_local(self):
if self.have_backed_up:
logging.info('Restoring .buckconfig.local')
os.remove(self.local_path)
shutil.copy2(self.backup_path, self.local_path)
os.remove(self.backup_path)
self.have_backed_up = False