From d7b2631410137e3da06fc1674eaf3c1e8e2f0874 Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 24 Dec 2014 22:21:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- connect.py => jump.py | 0 jump.conf => jumpserver.conf | 0 jumpserver/settings.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename connect.py => jump.py (100%) mode change 100755 => 100644 rename jump.conf => jumpserver.conf (100%) diff --git a/connect.py b/jump.py old mode 100755 new mode 100644 similarity index 100% rename from connect.py rename to jump.py diff --git a/jump.conf b/jumpserver.conf similarity index 100% rename from jump.conf rename to jumpserver.conf diff --git a/jumpserver/settings.py b/jumpserver/settings.py index 9a1e03248..dd605974c 100644 --- a/jumpserver/settings.py +++ b/jumpserver/settings.py @@ -15,7 +15,7 @@ import ConfigParser config = ConfigParser.ConfigParser() BASE_DIR = os.path.dirname(os.path.dirname(__file__)) -config.read(os.path.join(BASE_DIR, 'jump.conf')) +config.read(os.path.join(BASE_DIR, 'jumpserver.conf')) DB_HOST = config.get('db', 'host') DB_PORT = config.getint('db', 'port')