X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=emilie;h=cb58049ab53bf04838dc9f8b27f9eaf2ef714945;hb=155a2a479011874c09351074f2970cce66275b82;hp=7000fce2cd63983f5800776c4e0c85dd67e4cb6f;hpb=c1d61400bda8949c58a1cc80ac97c2f462e74a88;p=dak.git diff --git a/emilie b/emilie index 7000fce2..cb58049a 100755 --- a/emilie +++ b/emilie @@ -1,8 +1,8 @@ #!/usr/bin/env python # Sync fingerprint and uid tables with a debian.org LDAP DB -# Copyright (C) 2003 James Troup -# $Id: emilie,v 1.1 2003-02-11 18:09:38 troup Exp $ +# Copyright (C) 2003, 2004 James Troup +# $Id: emilie,v 1.3 2004-11-27 13:25:35 troup Exp $ # 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 @@ -20,6 +20,31 @@ ################################################################################ +# ping@debian.org ? +# missing@ ? wtfru@ ? +# giggle +# I like wtfru +# all you have to do is retrofit wtfru into an acronym and no one +# could possibly be offended! +# aj: worried terriers for russian unity ? +# uhhh +# ooookkkaaaaay +# wthru is a little less offensive maybe? but myabe that's +# just because I read h as heck, not hell +# ho hum +# (surely the "f" stands for "freedom" though...) +# where the freedom are you? +# 'xactly +# or worried terriers freed (of) russian unilateralism ? +# freedom -- it's the "foo" of the 21st century +# oo, how about "wat@" as in wherefore art thou? +# or worried attack terriers +# Waning Trysts Feared - Return? Unavailable? +# (i find all these terriers more worrying, than worried) +# worrying attack terriers, then + +################################################################################ + import commands, ldap, pg, re, sys, time; import apt_pkg; import db_access, utils; @@ -96,7 +121,7 @@ SELECT f.fingerprint, f.id, u.uid FROM fingerprint f, uid u WHERE f.uid = u.id for i in Attrs: entry = i[1]; - fingerprints = entry["keyfingerprint"]; + fingerprints = entry["keyFingerPrint"]; uid = entry["uid"][0]; uid_id = db_access.get_or_set_uid_id(uid); for fingerprint in fingerprints: