Commits

Vladimir Mihailenco  committed 18b6f00

Do not clean up var directory on version.create

  • Participants
  • Parent commits 667cb41

Comments (0)

Files changed (1)

File fabdeploy/version.py

 import datetime
 import posixpath
 
-from fabric.api import cd, run, puts, prompt
+from fabric.api import run, puts, prompt
 from fabric.contrib import files
 
 from .containers import conf
             run('cp --recursive %(last_env_link)s %(version_path)s' %
                 self.conf)
 
-            with cd(self.conf.var_path):
-                run("find -type f -exec rm '{}' \;")
-            with cd(self.conf.etc_path):
-                run("find -type f -exec rm '{}' \;")
-
 create = Create()