From 3af8da75a9d53f9767059a5c4a98855cee0888c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=B9=B2?= Date: Wed, 23 May 2018 18:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20Pr?= =?UTF-8?q?iceSystem/fangjia/=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PriceSystem/fangjia/__init__.py | 1 + PriceSystem/test.py | 11 ++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/PriceSystem/fangjia/__init__.py b/PriceSystem/fangjia/__init__.py index c8d9cb4..cf144c7 100644 --- a/PriceSystem/fangjia/__init__.py +++ b/PriceSystem/fangjia/__init__.py @@ -12,6 +12,7 @@ import redis from fangjia import mongoClients as mongoClients from fangjia import ElasticsearchClient as es from fangjia.cachedObjectWrapper import CachedObjectWrapper +# formatter = logging.Formatter('%(processName)s %(asctime)s %(name)-6s %(levelname)-6s %(message)s') diff --git a/PriceSystem/test.py b/PriceSystem/test.py index 5babd07..70d56b4 100644 --- a/PriceSystem/test.py +++ b/PriceSystem/test.py @@ -20,14 +20,11 @@ weekend = get_weekend('20180401') s = time.time() -ct='宁波' -rl='北仑' -lk='凤怡新村' +ct='深圳' +rl='福田' +lk='东方银座' ''' - -ct='太原'长宁石林别墅嘉兴', '宁波', 'region': '北仑', 'name': '凤怡新村' -rl='万柏林' -lk='下元重机宿舍'上海徐汇大大沽路100号小区 +'深圳', 'region': '福田', 'name': '东方银座' ''' #杨浦凤城四村闵行上海康城厦门同安大唐世家二期青岛市北东方小区合肥庐阳海亮红玺台青岛市北东方小区