Release 0.1.1

Bugfixes, new versioning system, fix up for pypi
This commit is contained in:
Rob Glew 2015-12-29 00:38:51 -06:00
parent f4bbd15c68
commit ed7ee40944
8 changed files with 22 additions and 15 deletions

View file

@ -807,8 +807,7 @@ class ProxyCmd(cmd2.Cmd):
def do_gencerts(self, line):
dest_dir = line or pappyproxy.config.CERT_DIR
message = "This will overwrite any existing certs in %s. Are you sure?" % dest_dir
answer = confirm(message, 'n')
if not answer or answer[0].lower() != 'y':
if not confirm(message, 'n'):
return False
print "Generating certs to %s" % dest_dir
pappyproxy.proxy.generate_ca_certs(dest_dir)