]> git.decadent.org.uk Git - dak.git/blobdiff - dak/symlink_dists.py
[JJ, r=JT] drop support for non-US which was last used in Debian for 3.0
[dak.git] / dak / symlink_dists.py
index 95bf151eed59d510aec23d4b0928a618f24af1a7..8eb5e3d2240c14e000b0953a50a2edb2e38f4acb 100755 (executable)
@@ -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)