[Pkg-debile-commits] [debile-slave] 56/100: fixing the source issue

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:08 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 15da964037436760dc8f7a7051d191f7f11ae203
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Sun Jun 2 11:46:41 2013 -0400

    fixing the source issue
---
 ethel/client.py |    2 +-
 ethel/utils.py  |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ethel/client.py b/ethel/client.py
index 0067486..d9a95b8 100644
--- a/ethel/client.py
+++ b/ethel/client.py
@@ -28,8 +28,8 @@ def checkout(package):
         raise ValueError("_type sucks")
 
     def source():
-        dsc = "{source}_{version}.dsc".format(**package)
         url = proxy.get_dsc(package['_id'])
+        dsc = os.path.basename(url)
         dget(url)
         yield dsc
 
diff --git a/ethel/utils.py b/ethel/utils.py
index 6be9221..4ebb621 100644
--- a/ethel/utils.py
+++ b/ethel/utils.py
@@ -55,6 +55,7 @@ def safe_run(cmd, expected=0):
     out, err, ret = run_command(cmd)
 
     if not ret in expected:
+        print(err)
         e = EthelSubprocessError(out, err, ret, cmd)
         raise e
 

-- 
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