X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fsymlink_dists.py;h=8eb5e3d2240c14e000b0953a50a2edb2e38f4acb;hb=281403d6d387e3adad068ece921af17f507d0f0c;hp=95bf151eed59d510aec23d4b0928a618f24af1a7;hpb=e2ae71066cbb134753d7bfceb16e87d0b76dfd6e;p=dak.git diff --git a/dak/symlink_dists.py b/dak/symlink_dists.py index 95bf151e..8eb5e3d2 100755 --- a/dak/symlink_dists.py +++ b/dak/symlink_dists.py @@ -59,7 +59,6 @@ def fix_component_section (component, section): # FIXME: ugly hacks to work around override brain damage section = re_strip_section_prefix.sub('', section) - section = section.lower().replace('non-us', '') if section == "main" or section == "contrib" or section == "non-free": section = '' if section != '': @@ -177,7 +176,7 @@ def main (): projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"])) - database.init(Cnf, projectB) + daklib.database.init(Cnf, projectB) find_dislocated_stable(Cnf, projectB)