From 201664b2b8a592675414f87a5445ce1d7297b02e Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 6 Feb 2015 18:58:37 +0200 Subject: Make directories in build tree, too. --- wrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wrap.py') diff --git a/wrap.py b/wrap.py index 2c3e087..af2b213 100644 --- a/wrap.py +++ b/wrap.py @@ -79,7 +79,7 @@ class Resolver: (pdata, phash) = self.get_data(purl) expected = p.get('patch_hash') if phash != expected: - raise RuntimeError('Incorrect hash for patch %s:\n %s expected\n %s actual.' % (packagename, expected, phash)) + raise RuntimeError('Incorrect hash for patch %s:\n %s expected\n %s actual' % (packagename, expected, phash)) open(os.path.join(self.cachedir, p.get('patch_filename')), 'wb').write(pdata) else: mlog.log('Package does not require patch.') -- cgit v1.1