From 9cf2525c10d178912d306c1fe378bba982404957 Mon Sep 17 00:00:00 2001 From: saga92 Date: Mon, 9 May 2016 18:50:04 +0800 Subject: [PATCH] fix bugs --- Deploy/prepare | 2 +- migration/Dockerfile | 2 +- migration/{install.sh => prepare.sh} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename migration/{install.sh => prepare.sh} (100%) diff --git a/Deploy/prepare b/Deploy/prepare index 33288d06e..edd31ea95 100755 --- a/Deploy/prepare +++ b/Deploy/prepare @@ -116,7 +116,7 @@ FNULL = open(os.devnull, 'w') from functools import wraps def stat_decorator(func): - #@wraps(func) + @wraps(func) def check_wrapper(*args, **kwargs): stat = func(*args, **kwargs) message = "Generated configuration file: %s" % kwargs['path'] \ diff --git a/migration/Dockerfile b/migration/Dockerfile index eb961aac9..507342170 100644 --- a/migration/Dockerfile +++ b/migration/Dockerfile @@ -18,6 +18,6 @@ COPY ./ ./ COPY ./migration.cfg ./ -RUN ./install.sh +RUN ./prepare.sh ENTRYPOINT ["./run.sh"] diff --git a/migration/install.sh b/migration/prepare.sh similarity index 100% rename from migration/install.sh rename to migration/prepare.sh