From 883afdfdad2c326ba0525edae773eef7b5cd3497 Mon Sep 17 00:00:00 2001 From: Ramon van Alteren Date: Thu, 5 Jan 2012 12:57:37 +0100 Subject: [PATCH] Fixing stupid bugs jobname is a var :( and we need to pass a hexstring as md5hash not a binary --- pyjenkinsci/artifact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyjenkinsci/artifact.py b/pyjenkinsci/artifact.py index 2b53ecd..dda35a5 100644 --- a/pyjenkinsci/artifact.py +++ b/pyjenkinsci/artifact.py @@ -63,7 +63,7 @@ class Artifact(object): md5.update(chunk) except: raise - return md5.digest() + return md5.hexdigest() def savetodir( self, dirpath ): """ -- 2.7.4