[sysadmin-bin] s/drawable-back/range-back on every script



commit a72336e8c7987cc67dfddcf127b15b486e210ca0
Author: Andrea Veri <av gnome org>
Date:   Wed Feb 19 10:04:33 2014 +0100

    s/drawable-back/range-back on every script

 generate-mirrors-list.py        |    2 +-
 mail/automatic_subscriptions    |    2 +-
 mail/automatic_subscriptions.py |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/generate-mirrors-list.py b/generate-mirrors-list.py
index 92bdeca..fece450 100755
--- a/generate-mirrors-list.py
+++ b/generate-mirrors-list.py
@@ -16,7 +16,7 @@ for line in lines:
             mirrors_password = mirrors_password.replace(sanitize_file[i],"")
 file.close()
 
-db = MySQLdb.connect(host="drawable-back",
+db = MySQLdb.connect(host="range-back",
                      user="mirrors",
                      passwd=mirrors_password,
                      db="mirrors")
diff --git a/mail/automatic_subscriptions b/mail/automatic_subscriptions
index a3a4684..c37f21f 100755
--- a/mail/automatic_subscriptions
+++ b/mail/automatic_subscriptions
@@ -6,7 +6,7 @@ WORKDIR="/var/cache"
 QUERY='SELECT email from foundationmembers WHERE TO_DAYS(last_renewed_on)=To_DAYS(NOW()); SELECT email from 
foundationmembers WHERE TO_DAYS(first_added)=To_DAYS(NOW())'
 PASSWORD="`grep mysql_password /home/admin/secret/anonvoting | sed -r 's/^[^"]+"//;s/"[^#]+//'`"
 
-mysql -N -r -h drawable-back --user=anonvoting --password="$PASSWORD" -e "$QUERY" foundation > 
$WORKDIR/new_foundation_members
+mysql -N -r -h range-back --user=anonvoting --password="$PASSWORD" -e "$QUERY" foundation > 
$WORKDIR/new_foundation_members
 
 if [ -s "${WORKDIR}/new_foundation_members" ]; then
     cd $WORKDIR
diff --git a/mail/automatic_subscriptions.py b/mail/automatic_subscriptions.py
index 5ac3f3c..c74041d 100755
--- a/mail/automatic_subscriptions.py
+++ b/mail/automatic_subscriptions.py
@@ -21,7 +21,7 @@ for line in lines:
                         anonvoting_password = anonvoting_password.replace(sanitize_file[i],"")
 file.close()
 
-db = MySQLdb.connect(host="drawable-back",
+db = MySQLdb.connect(host="range-back",
                      user="anonvoting",
                      passwd=anonvoting_password,
                      db="foundation")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]