summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-12 14:49:55 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-12 14:49:55 +0000
commit024957f201f6e6e29234bc8b25c7be13b0b22cb6 (patch)
tree7189740a62a6b34dfe01f058450f772dc747e5bb
parentd64e45fa7f5c62f12c3c4f4a93b3e26140deec38 (diff)
downloadmgaonline-024957f201f6e6e29234bc8b25c7be13b0b22cb6.tar
mgaonline-024957f201f6e6e29234bc8b25c7be13b0b22cb6.tar.gz
mgaonline-024957f201f6e6e29234bc8b25c7be13b0b22cb6.tar.bz2
mgaonline-024957f201f6e6e29234bc8b25c7be13b0b22cb6.tar.xz
mgaonline-024957f201f6e6e29234bc8b25c7be13b0b22cb6.zip
ignore lines starting with # in distro list
-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;
}