From 6565a1750c030342f8573b7b3d244372efc6b608 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 27 Nov 2012 17:55:27 +0000 Subject: Fix the unsupported distro warning --- (limited to 'devbot/system.py') diff --git a/devbot/system.py b/devbot/system.py index 7b74104..26ca39f 100644 --- a/devbot/system.py +++ b/devbot/system.py @@ -121,16 +121,6 @@ def stop_xvfb(xvfb_proc, orig_display): xvfb_proc.terminate() -def warn_if_unsupported(distro_name): - if distro_name == "unsupported": - 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" - def remove_packages(package_manager, packages): distro_name = distro.get_distro_info().name @@ -178,8 +168,6 @@ def check(remove=False, update=False, test=False, interactive=True, run_checks(package_manager, config.load_checks(), packages) - warn_if_unsupported(distro_name) - stop_xvfb(xvfb_proc, orig_display) if update: -- cgit v0.9.1