# Directory information not transferred via command line, so this
# will not error due to the changed directory.
shell.drop_priviledges(".", options.log_file)
- # XXX: this should be abstracted away!
- if os.path.exists(".git/WIZARD_REPO"):
- util.chdir(shell.eval('git', 'config', 'remote.origin.url'))
+ util.chdir_to_production()
production = deploy.ProductionCopy(".")
production.verify()
open(production.blacklisted_file, 'w').write(reason + "\n")