[Pkg-debile-commits] [debile-slave] 93/100: Forgot some interface + config file

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:16 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch master
in repository debile-slave.

commit 71252a29a4a650b61b4b37362162b4d47e1933ce
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Mon Jul 29 11:41:59 2013 +0200

    Forgot some interface + config file
---
 ethel/client.py |   10 +++++-----
 skel/ethel.ini  |    6 ++++--
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/ethel/client.py b/ethel/client.py
index 30716df..c6c0d5a 100644
--- a/ethel/client.py
+++ b/ethel/client.py
@@ -9,13 +9,13 @@ import os
 
 
 def get_proxy():
-    info = Config()
+    config = Config()
     proxy = xmlrpclib.ServerProxy(
         "http://{user}:{password}@{host}:{port}/".format(
-            user=info['host']['user'],
-            password=info['host']['password'],
-            host=info['host']['host'],
-            port=info['host']['port']
+            user=config['lucy']['user'],
+            password=config['lucy']['password'],
+            host=config['lucy']['host'],
+            port=config['lucy']['port']
         ), allow_none=True)
     return proxy
 
diff --git a/skel/ethel.ini b/skel/ethel.ini
index 3ed28aa..7c63175 100644
--- a/skel/ethel.ini
+++ b/skel/ethel.ini
@@ -1,4 +1,4 @@
-[host]
+[lucy]
 # The address or IP to contact lucy
 host=debian-manager.via.ecp.fr
 # The port to contact lucy
@@ -13,12 +13,14 @@ dput-host=debian-manager
 # Where to send the logs, the same host as dput, same path without incoming/
 copy=scp {src} lucy at debian-manager.via.ecp.fr:{dest}
 
+[gpg]
 # The GPG key of the builder machine
 # `gpg --list-secret-keys --fingerprint | grep fingerprint | cut -d'=' -f2 | tr -d ' '`
-gpg=D0FEF8101640900183B8C37A42FE51628224AAA3
+fingerprint=D0FEF8101640900183B8C37A42FE51628224AAA3
 # The keyring where this key is
 keyring=/srv/ethel/.gnupg/secring.gpg
 
+[capabilities]
 # The builder capabilities
 suites=unstable
 arches=amd64,all

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git



More information about the Pkg-debile-commits mailing list