diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-27 17:55:27 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-27 17:55:27 (GMT) |
commit | 6565a1750c030342f8573b7b3d244372efc6b608 (patch) | |
tree | 41be415cf74a86b38d254bc403572c62bf12eb9b /devbot/system.py | |
parent | f3f0fe85732d75159271f59db9baccef21f4d937 (diff) |
Fix the unsupported distro warning
Diffstat (limited to 'devbot/system.py')
-rw-r--r-- | devbot/system.py | 12 |
1 files changed, 0 insertions, 12 deletions
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: |