Beispiel #1
0
 def revert(self):
     pysvn.clear_workingcopy_by_targets(self.online_site_path, self.temp_changelist)
     st = pysvn.st(self.online_site_path)
     title = self.full_site_name + "三段回滚成功,谢谢!"
     content = "三段站点状态:" + '\n' + '\n'.join(st).strip()
     pyemail.send(self.to_list, title, content)
Beispiel #2
0
def revert():
    pysvn.clear_workingcopy_by_targets(site_path, changelist)
    st = pysvn.st(site_path)
    title = site_name + "三段回滚成功,谢谢!"
    content = "三段站点状态:" + '\n' + '\n'.join(st).strip()
    pyemail.send(to_list, title, content, [])