]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/restore.py
Add support for a working dir in wizard.shell
[wizard.git] / wizard / command / restore.py
index feeb0b017179c763b8dc238fa2ba45457bc5bd3f..4410611766758a1ff8983704a1016617ca105112 100644 (file)
@@ -6,6 +6,8 @@ from wizard import command, deploy, shell
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
+    d = deploy.ProductionCopy(".")
+    d.verify()
     backups = ".scripts/backups"
     if not args:
         if not os.path.exists(backups):