diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2015-03-27 23:21:00 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-04-13 12:55:49 +0200 |
commit | d1f5abc3e6b0b0737dc7d7fadc95e6600f122d36 (patch) | |
tree | 5ec9ac265165e8d1ef9640cca3124fbcbde0f1cc /meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch | |
parent | 9e754c3e23247609e24d6bf268dba05b6266c167 (diff) | |
download | meta-openembedded-contrib-d1f5abc3e6b0b0737dc7d7fadc95e6600f122d36.tar.gz |
gateone: move to meta-python
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch')
-rw-r--r-- | meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch b/meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch new file mode 100644 index 0000000000..5f5fa9117e --- /dev/null +++ b/meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch @@ -0,0 +1,26 @@ +From d811d3bdf06d78c93c48bef762c19c392c879077 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <koen@dominion.thruhere.net> +Date: Tue, 26 Nov 2013 15:54:10 +0100 +Subject: [PATCH] configuration.py: Hack around broken gethostname thingy + +Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> +--- + gateone/core/configuration.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gateone/core/configuration.py b/gateone/core/configuration.py +index da41cbd..d1c8222 100644 +--- a/gateone/core/configuration.py ++++ b/gateone/core/configuration.py +@@ -162,7 +162,7 @@ def define_options(installed=True): + ] + # Used both http and https above to demonstrate that both are acceptable + try: +- additional_origins = socket.gethostbyname_ex(socket.gethostname()) ++ additional_origins = [] # additional_origins = socket.gethostbyname_ex(socket.gethostname()) + except socket.gaierror: + # Couldn't get any IPs from the hostname + additional_origins = [] +-- +1.8.4.2 + |