Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/plugins
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-01-22 12:58:30 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-01-22 12:58:30 (GMT)
commitd1166c9415ed8e6a8729bb6b72084f71adf1cd54 (patch)
tree2ffc7f1f27a88ae2a7d7271b8d133a273e556e2f /devbot/plugins
parent477536204d9d490e224fdbe46efb8cfa181edb6b (diff)
Python 3 compatibility
Diffstat (limited to 'devbot/plugins')
-rw-r--r--devbot/plugins/debian.py4
-rw-r--r--devbot/plugins/fedora.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/devbot/plugins/debian.py b/devbot/plugins/debian.py
index 437846d..9598a57 100644
--- a/devbot/plugins/debian.py
+++ b/devbot/plugins/debian.py
@@ -56,12 +56,12 @@ class PackageManager(interfaces.PackageManager):
return
if package not in self._cache:
- print "Package %s not in cache" % package
+ print("Package %s not in cache" % package)
return
installed = self._cache[package].installed
if installed is None:
- print "Package %s not installed" % package
+ print("Package %s not installed" % package)
return
for dependency in installed.dependencies:
diff --git a/devbot/plugins/fedora.py b/devbot/plugins/fedora.py
index d1a2936..bb10357 100644
--- a/devbot/plugins/fedora.py
+++ b/devbot/plugins/fedora.py
@@ -63,7 +63,7 @@ class PackageManager(interfaces.PackageManager):
query_format,
package]).strip()
except subprocess.CalledProcessError:
- print "Package %s not installed" % package
+ print("Package %s not installed" % package)
return
filtered = [cap for cap in capabilities.split(" ")