summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--mdkonline.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d6060983..bbedca8e 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Version 2.77.15.17 - 10 February 2010, Thierry Vignaud
- mdkapplet
o fix dates display wrong by one month
o fix new distro popup appearing on 2008.0 after choices have been displayed
+ o ignore lines starting with # in distro list
Version 2.77.15.16 - 5 February 2010, Thierry Vignaud
diff --git a/mdkonline.pm b/mdkonline.pm
index 26f5ef0b..6c67b54c 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -144,7 +144,7 @@ sub get_distro_list() {
return;
}
- map { common::parse_LDAP_namespace_structure(chomp_($_)) } @lines;
+ map { common::parse_LDAP_namespace_structure(chomp_($_)) } grep { /^[^#]/ } @lines;
}