aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/skype/skyped.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/protocols/skype/skyped.py b/protocols/skype/skyped.py
index 615d6835..3b6499c1 100644
--- a/protocols/skype/skyped.py
+++ b/protocols/skype/skyped.py
@@ -197,11 +197,15 @@ def listener(sock, skype):
if not hasgobject:
if not(wait_for_lock(options.lock, 3, 10, "listener")): return False
rawsock, addr = sock.accept()
- options.conn = ssl.wrap_socket(rawsock,
- server_side=True,
- certfile=options.config.sslcert,
- keyfile=options.config.sslkey,
- ssl_version=ssl.PROTOCOL_TLSv1)
+ try:
+ options.conn = ssl.wrap_socket(rawsock,
+ server_side=True,
+ certfile=options.config.sslcert,
+ keyfile=options.config.sslkey,
+ ssl_version=ssl.PROTOCOL_TLSv1)
+ except ssl.SSLError:
+ dprint("Warning, SSL init failed, did you create your certificate?")
+ return False
if hasattr(options.conn, 'handshake'):
try:
options.conn.handshake()
tfix/0.19.1 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/gettext-2.1.0/samples/cgi/po/hellolib.pot
blob: 1b98e6e6861bd25b175b995af7aa6da0996c697a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# CGI/ERB sample for Ruby-GetText-Package.
#
# Copyright (C) 2005,2006 Masao Mutoh
#
# This file is distributed under the same license as the Ruby-GetText-Package.
#
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: cgi-sample 1.1.1\n"
"POT-Creation-Date: 2006-01-07 14:53+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: hellolib.rb:19
msgid "This message is from hellolib."
msgstr ""