commit | a11276ae997b54fc31a8e19a05129ba6e6ba0c6d | [log] [tgz] |
---|---|---|
author | Urs Wolfer <uwolfer@fwo.ch> | Sat Apr 26 13:20:00 2014 +0200 |
committer | Urs Wolfer <uwolfer@fwo.ch> | Sat Apr 26 13:20:00 2014 +0200 |
tree | e4ed4c5bf67a969c12d6975e2363dfe10cb21406 | |
parent | 40a179b8ca42451f6fdac6dab477195d01b8aec5 [diff] |
Fix buck build error because of not encoded argument On Arch Linux using Python 2.7.6 with a recent clone of buck, I got the following error: Traceback (most recent call last): File "gerrit/tools/download_file.py", line 100, in <module> cache_ent = cache_entry(args) File "gerrit/tools/download_file.py", line 80, in cache_entry h = sha1(args.u).hexdigest() TypeError: Unicode-objects must be encoded before hashing Change-Id: I7a638b56a14cf579ba57f2a5c17df62cf3fbf266