Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devbot/plugins/gentoo.py4
-rw-r--r--devbot/state.py2
2 files changed, 1 insertions, 5 deletions
diff --git a/devbot/plugins/gentoo.py b/devbot/plugins/gentoo.py
index a9c3509..3b0e5fb 100644
--- a/devbot/plugins/gentoo.py
+++ b/devbot/plugins/gentoo.py
@@ -81,10 +81,6 @@ class PackageManager(interfaces.PackageManager):
if dep not in result:
result.append(dep)
-
-
- pass
-
distro.register_package_manager("gentoo", PackageManager)
class DistroInfo(interfaces.DistroInfo):
diff --git a/devbot/state.py b/devbot/state.py
index 0a6f7b9..0335b0c 100644
--- a/devbot/state.py
+++ b/devbot/state.py
@@ -117,4 +117,4 @@ def _compute_mtime_hash(path):
if ".git" in dirs:
dirs.remove(".git")
- return hashlib.sha256(data).hexdigest()
+ return hashlib.sha256(data.encode('utf-8')).hexdigest()