コード例 #1
0
ファイル: rollback.py プロジェクト: RyanPoy/catapult
 def work(self, *args, **kw):
     schema = schemas.Cap(myenv.home)
     curr = schema.current_release()
     prev = schema.get_previous()
     schema.switch_current_to(prev)
     mine("rm -rf '%s'" % curr)