[sysadmin-bin] Add the second condition



commit b3f0ec22c3fe679b29e0f0bb6e4b89094f28ada5
Author: Andrea Veri <av gnome org>
Date:   Tue Nov 5 09:18:05 2013 +0100

    Add the second condition

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index 140848c..8415cad 100755
--- a/create-auth
+++ b/create-auth
@@ -31,7 +31,7 @@ def get_md5sum_hash():
 
 ## Don't overload ldap.gnome.org too much, make use of our slave
 ## for the gnomecvs and ftpbasic groups.
-if socket.gethostname == 'git.gnome.org' or 'master.gnome.org':
+if socket.gethostname == 'git.gnome.org' or socket.gethostname == 'master.gnome.org':
     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]