From 2a14ff9c3051cf2b5d8d60a4eea6b9b531f70292 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 15 Dec 2012 11:42:09 +0000 Subject: [PATCH] Use sha256new by default, rather than sha256 This algorithm works better on Windows because it creates shorter pathnames, and is needed to work with cmake. Suggested by Bastian Eicher. --- 0publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0publish b/0publish index 2d6f4b5..4b54419 100755 --- a/0publish +++ b/0publish @@ -155,7 +155,7 @@ try: algs = ['sha1new'] import hashlib if hasattr(hashlib, 'sha256'): - algs.append('sha256') + algs.append('sha256new') data = archive.add_archive(data, options.archive_url, options.archive_file, options.archive_extract, algs) elif options.archive_file or options.archive_extract: raise Exception('Must use --archive-url option') -- 2.11.4.GIT