diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-22 12:58:30 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-22 12:58:30 (GMT) |
commit | d1166c9415ed8e6a8729bb6b72084f71adf1cd54 (patch) | |
tree | 2ffc7f1f27a88ae2a7d7271b8d133a273e556e2f /devbot/distro.py | |
parent | 477536204d9d490e224fdbe46efb8cfa181edb6b (diff) |
Python 3 compatibility
Diffstat (limited to 'devbot/distro.py')
-rw-r--r-- | devbot/distro.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devbot/distro.py b/devbot/distro.py index 681b014..2d006da 100644 --- a/devbot/distro.py +++ b/devbot/distro.py @@ -21,13 +21,13 @@ def get_package_manager(test=False, interactive=True): def print_distro_info(): info = get_distro_info() - print "\n= Distribution information =\n" - print "Name: %s" % info.name - print "Version: %s" % info.version - print "GNOME version: %s" % info.gnome_version - print "Gstreamer version: %s" % info.gstreamer_version - print "Lib directory: %s" % info.lib_dir - print "Supported: %s\n" % info.supported + print("\n= Distribution information =\n") + print("Name: %s" % info.name) + print("Version: %s" % info.version) + print("GNOME version: %s" % info.gnome_version) + print("Gstreamer version: %s" % info.gstreamer_version) + print("Lib directory: %s" % info.lib_dir) + print("Supported: %s\n" % info.supported) def get_distro_info(): @@ -50,12 +50,12 @@ def get_distro_info(): _distro_info = unknown_distro if not _distro_info.supported: - print "*********************************************************\n" \ + print("*********************************************************\n" \ "You are running an unsupported distribution. You might be\n" \ "able to make sugar work by installing or building \n" \ "packages but it certainly won't work out of the box.\n" \ "You are strongly encouraged to pick one of the supported \n" \ "distributions listed in the README.\n" \ - "*********************************************************\n" + "*********************************************************\n") return _distro_info |