Revision 28a2d809 vncauthproxy/proxy.py

b/vncauthproxy/proxy.py
625 625
            users[user] = password
626 626

  
627 627
    if not users:
628
        raise "No users defined"
628
        logger.warn("No users specified.")
629 629

  
630 630
    return users
631 631

  
......
803 803
            rlist, _, _ = select(sockets, [], [])
804 804
            for ctrl in rlist:
805 805
                client, _ = ctrl.accept()
806
                if not no_ssl:
806
                if not opts.no_ssl:
807 807
                    client = ssl.wrap_socket(client,
808 808
                                             server_side=True,
809 809
                                             keyfile=opts.key_file,

Also available in: Unified diff