summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrp_meyzieu_manager7
1 files changed, 1 insertions, 6 deletions
diff --git a/rp_meyzieu_manager b/rp_meyzieu_manager
index 309ab96..c7e3785 100755
--- a/rp_meyzieu_manager
+++ b/rp_meyzieu_manager
@@ -15,7 +15,7 @@ from mandaye import config
from mandaye.log import logger
def get_cmd_options():
- usage = "usage: %prog --createdb|--upgradedb|--cryptpwd"
+ usage = "usage: %prog --createdb|--upgradedb"
parser = OptionParser(usage=usage)
parser.add_option("--createdb",
dest="createdb",
@@ -66,11 +66,6 @@ def main():
alembic_cfg.set_main_option("script_location", global_config.alembic_script_path)
command.upgrade(alembic_cfg, "head")
logger.info("Database upgraded")
- if options.cryptpwd:
- from mandaye.backends.default import ManagerSPUser
- for user in ManagerSPUser.all():
- user.password = encrypt_pwd(user.password)
- ManagerSPUser.save()
if __name__ == "__main__":
main()