| 1 |
#!/usr/bin/python |
#!/usr/bin/python |
| 2 |
# -*- coding: utf8 -*- |
# -*- coding: utf-8 -*- |
| 3 |
|
|
| 4 |
# Make sure tabs expand to 8 spaces in vim |
# Make sure tabs expand to 8 spaces in vim |
| 5 |
# vim: expandtab |
# vim: expandtab |
| 14 |
from xml.dom import implementation, ext |
from xml.dom import implementation, ext |
| 15 |
|
|
| 16 |
from config import dir, odir, root |
from config import dir, odir, root |
| 17 |
|
from common import hash_name |
| 18 |
|
|
| 19 |
# Create the source <-> binaries correspondances |
# Create the source <-> binaries correspondances |
| 20 |
source2binaries = {} # maps a source package to its binaries |
source2binaries = {} # maps a source package to its binaries |
| 306 |
|
|
| 307 |
doc = implementation.createDocument(None, "other", None) |
doc = implementation.createDocument(None, "other", None) |
| 308 |
root_elt = doc.documentElement |
root_elt = doc.documentElement |
| 309 |
|
hash = hash_name(pkg) |
|
hash = pkg[0] |
|
|
if pkg[0:3] == "lib": |
|
|
hash = pkg[0:4] |
|
| 310 |
|
|
| 311 |
# Add debcheck availability info |
# Add debcheck availability info |
| 312 |
dc_sig = "" |
dc_sig = "" |