From 8e29e0b39f870c37da96ef18b3b18430aeb7e807 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 6 Jun 2005 00:11:48 +0000 Subject: [PATCH] bugfix --- src/common/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 8162946af..1584da00e 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -98,7 +98,7 @@ def get_os_info(): fd.close() if path_to_file.endswith('version'): # sourcemage_version has all the info we need - if not path_to_file.startswith('sourcemage'): + if not os.path.basename(path_to_file).startswith('sourcemage'): text = distro_name + ' ' + text elif path_to_file.endswith('aurox-release'): # file doesn't have version text = distro_name