Fix octodns-* command warning, improve log messages a bit

This commit is contained in:
Ross McFarland
2017-03-27 09:59:42 -07:00
parent 7f0b9df0e3
commit 100688cdc6
7 changed files with 127 additions and 114 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ cmds = (
)
cmds_dir = join(dirname(__file__), 'octodns', 'cmds')
console_scripts = {
'octodns-{name} = octodns.cmds.{name}'.format(name=filename[:-3])
for filename in cmds
'octodns-{name} = octodns.cmds.{name}:main'.format(name=name)
for name in cmds
}
setup(