Skip to content

Commit 1eec26a

Browse files
committed
fix(ippool.py): delete print log
1 parent bb39aed commit 1eec26a

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
name='smartdns',
2828
description='An Intelligent DNS Similar to DNSPod',
29-
version='3.1.7',
29+
version='3.1.8',
3030
author='duanhongyi',
3131
author_email='duanhyi@gmail.com',
3232
packages=find_packages(),

smartdns/ippool.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ def LoadRecord(self):
131131
elif match[3] not in self.locmapip[fqdn][match[0]][match[1]][match[2]]:
132132
self.locmapip[fqdn][match[0]][match[1]][match[2]][match[3]] = \
133133
[self.record[fqdn][router], weight]
134-
print(self.locmapip)
135134
f.close()
136135
# logger.warning(self.locmapip)
137136

@@ -202,8 +201,6 @@ def FindIP(self, ip, name):
202201
if not re.search(r'[^0-9.]', tmp_ip) and self.monitor_mapping.check(name, tmp_ip)]
203202
logger.info("userip:[%s] domain:[%s] section:[%s-%s] location:[%s,%s,%s,%s] ip_list:%s" % (
204203
ip, name, long2ip(ipstart), long2ip(ipend), country, province, city, sp, ip_list))
205-
print(self.iphash[i])
206-
print(name, ipnum, ip, long2ip(ipstart), long2ip(ipend),country, province, city, sp, ip_list)
207204
if not ip_list or len(ip_list) == 0:
208205
# maybe something wrong
209206
tmp_ip_list = [

0 commit comments

Comments
 (0)