summaryrefslogtreecommitdiff
path: root/test/pacman/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/util.py')
-rw-r--r--test/pacman/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/util.py b/test/pacman/util.py
index 5fbe4c35..544bdd8d 100644
--- a/test/pacman/util.py
+++ b/test/pacman/util.py
@@ -152,7 +152,7 @@ def getmd5sum(filename):
def mkmd5sum(data):
checksum = hashlib.md5()
- checksum.update("%s\n" % data)
+ checksum.update(("%s\n" % data).encode('utf8'))
return checksum.hexdigest()