1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 14:28:03 +00:00

py-i2phosts-fetcher: add log message

This commit is contained in:
Hidden Z 2010-10-27 15:36:51 +00:00
parent 0f66ec2d49
commit e0e6113808

View File

@ -67,6 +67,7 @@ for source in sources:
# form commnd-line for invoke injector
path = os.path.dirname(sys.argv[0])
print 'adding hosts from: %s' % source_hostname
sp_args = [path + '/py-i2phosts-injector', '-s', '-f', filename, '-d', 'Auto-added from ' + source_hostname]
p = subprocess.Popen(sp_args, shell=False, stdin=None,
stdout=None, stderr=subprocess.STDOUT)