[sysadmin-bin] Fix the call to the socket.gethostname function
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Fix the call to the socket.gethostname function
- Date: Wed, 13 Nov 2013 15:36:35 +0000 (UTC)
commit 1c44156cd04bf3fd4b4fe9f6914dd3e83847226e
Author: Andrea Veri <av gnome org>
Date: Wed Nov 13 16:36:30 2013 +0100
Fix the call to the socket.gethostname function
create-auth | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index 0fba435..830bc0e 100755
--- a/create-auth
+++ b/create-auth
@@ -34,7 +34,7 @@ def get_md5sum_hash():
SLAVE_CONNECTED_MACHINES = ['git.gnome.org', 'master.gnome.org', 'clipboard.gnome.org, 'webapps2.gnome.org']
-if socket.gethostname in SLAVE_CONNECTED_MACHINES:
+if socket.gethostname() in SLAVE_CONNECTED_MACHINES:
ldap_server = 'view.gnome.org'
else:
ldap_server = 'ldap.gnome.org'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]