# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# What a mess. FIXME
if string.find(section, '/') != -1:
component = string.split(section, '/')[0]
# What a mess. FIXME
if string.find(section, '/') != -1:
component = string.split(section, '/')[0]
s = string.split(section, '/')[1]
if s == "main" or s == "non-free" or s == "contrib": # Avoid e.g. non-US/libs
component = string.split(section, '/')[0]+ '/' + string.split(section, '/')[1]
s = string.split(section, '/')[1]
if s == "main" or s == "non-free" or s == "contrib": # Avoid e.g. non-US/libs
component = string.split(section, '/')[0]+ '/' + string.split(section, '/')[1]
def poolify (source, component):
if component != "":
component = component + '/';
def poolify (source, component):
if component != "":
component = component + '/';