[12:04] <SteveA> if you did it as instances of a class, you would not need to do that
[12:04] <SteveA> +country_codes_where_postcode_is_required = set(
[12:04] <SteveA> +    line.strip().split(' ', 1)[0]  
[12:04] <SteveA> +    for line in _countries_where_postcode_is_required.strip().splitlines())
[12:04] <SteveA> 
[12:04] <salgado> then I'd pass an instance of that class to the field's constraint?
[12:04] <SteveA> well
[12:04] <SteveA> so, i'd make it like this
[12:05] <SteveA> validate_shipit_province = ShipItValidator("province", 30)
[12:05] <SteveA> but, if you're only using these things once, then you can include them directly
[12:06] <SteveA> 
[12:06] <SteveA> i had a question about the list comprehension, but now i see it is fine
[12:06] <SteveA> cool
[12:06] <SteveA> other than using class instances rather than functions, r=me
[12:07] <salgado> great. I'm changing the validators right now. 
[12:07] <salgado> thanks, SteveA 
[12:10] <AlinuxOS> mdke, I have the same problem
[12:10] <AlinuxOS> with coc 1.0 version :/
[12:10] <AlinuxOS> exactly the same.
[12:13] <AlinuxOS> https://launchpad.net/products/launchpad/+bug/28919 may I file a bug ? Or maybe not..there is so many people with the same problem.
[12:13] <Ubugtu> Malone bug 28919 in launchpad "error signing code of conduct: "str: No public key"" [Major,Confirmed]  
[12:14] <AlinuxOS> may I paste my Signed coc, like a comment ?
[12:14] <AlinuxOS> :) maybe someone manually insert it 
[12:16] <kiko> AlinuxOS, no, don't do tha.
[12:16] <kiko> do that.
[12:16] <AlinuxOS> kiko, ok :)
[12:16] <kiko> you can however send it in through email, I believe
[12:16] <AlinuxOS> I saw some people do that :)
[12:16] <kiko> yeah, I'm not sure what address is appropriate
[12:17] <AlinuxOS> as mdke said, I resigned 1.0 version, but it still dosen't work.
[12:18] <AlinuxOS> he told me that 1.0.1 version of coc is not signable/uploadable.
[12:18] <AlinuxOS> but 1.0 dosen't work.
[12:18] <aa__> do you guys much care that most https posts that are not right return a 500 error?
[12:18] <kiko> AlinuxOS, it appears to be a bug in the code
[12:19] <AlinuxOS> kiko, yes I understand.
[12:19] <kiko> aa__, yes, we do care, but accesses like that generate OOPS logs which we capture at the end of the day
[12:19] <AlinuxOS> so I'll wait when bug is fixed :)
[12:19] <aa__> right, and also really good for debugging a client too, but just mentioning it
[12:20] <aa__> since a 500 is easier to catch than parsing html
[12:20] <kiko> AlinuxOS, I'm also finding it difficult to reproduce
[12:20] <kiko> which is part of the problem
[12:21] <AlinuxOS> kiko, don't worry I'll wait :/ so sorry that can't contribuite to coding or bug fixing :/
[12:21] <kiko> it should normally generate an OOPS
[12:21] <kiko> but in this case, something strange is happening
[12:21] <kiko> I will take a look at it tonight.
[12:22] <AlinuxOS> ok I'll ping you tommorow evening :)
[12:22] <AlinuxOS> My Time is 00:22/Florence
[12:22] <kiko> that sounds like bedtime to me!
[12:23] <AlinuxOS> kiko, take it easy :)
[12:39] <mdke> AlinuxOS: did you upload your key to launchpad?
[12:39] <AlinuxOS> yes
[12:40] <AlinuxOS> In y account I have my pubblic key.
[12:41] <AlinuxOS> I have even 2 times uploaded my key :)
[12:41] <mdke> AlinuxOS: I don't see it on your people page
[12:44] <mdke> AlinuxOS: I see 2 SSH keys, but no GPG keys
[12:45] <AlinuxOS> mdke, :/ I'm relly tired up :)
[12:45] <AlinuxOS> 10 hours in studio :) mixind my bands album :)
[12:45] <AlinuxOS> must I uload a GPG ID ?
[12:46] <mdke> AlinuxOS: you just need to follow the step by step guide I gave you
[12:48] <AlinuxOS> mdke, I done something wrong I think :/
[12:49] <mdke> AlinuxOS: if you follow it again, it should work. If you need any more help, let's get our of this channel
[12:49] <mdke> our/out*
[12:57] <AlinuxOS> :D
[12:58] <AlinuxOS> Matt you are so fiscal :)
[12:58] <AlinuxOS> like a real englishman :) I like this attitude
[12:58] <salgado> lifeless, around?
[12:58] <AlinuxOS> I learn lot from you :)
[12:59] <lifeless> salgado: yes
[01:00] <salgado> lifeless, would you like to review my shipit db patch?
[01:01] <lifeless> I can give it a once over
[01:01] <lifeless> but stub should be the one to approve except when hes just not available
[01:02] <salgado> I didn't realize earlier that stub was going to be offline today
[01:04] <salgado> lifeless, https://chinstrap.ubuntu.com/~dsilvers/paste/fileOCHeoe.html
[01:10] <lifeless> kiko: you have mail
[01:10] <lifeless> what is the standardshipitrequest_quantity_flavour_key constraint meant to achieve ?
[01:11] <salgado> avoid having two options with the same number of CDs for the same flavour
[01:11] <salgado> the standardshipitrequests are what we list for people to chose
[01:12] <salgado> and to choose, too
[01:12] <lifeless> so they aren't actual requests
[01:12] <lifeless> they are templates ?
[01:12] <lifeless> or menu options
[01:12] <salgado> exactly! templates
[01:12] <lifeless> ok, add a TODO somewhere else to rename the table to make that clearer
[01:12] <lifeless> :)
[01:12] <salgado> the quantities and the flavour are the actual template
[01:14] <lifeless> other than that it looks fine, add the usual db patch boilerplate around it
[01:14] <lifeless> but if its at all possible, please let stub ok it before merging
[01:14] <salgado> yeah, it already has that. I just copy and pasted the relevant part
[01:14] <salgado> I need stub's okay. or at least a patch number. :-(
[01:15] <lifeless> so the reason that I don't want to assign a patch number is that stub is the control point for them - when hes on leave I become the control point. But if we both assign patch numbers, chaos ensures
[01:15] <lifeless> s/ensures/ensues/
[01:15] <salgado> yeah, I know that
[01:19] <lifeless> anyhow, the patch looks good
[01:20] <salgado> would it be okay if stub just give me the patch number?
[01:21] <lifeless> sure. way to do this is just email him direct the patch, say I'm +1 on it and you need a db #.
[01:22] <lifeless> cc launchpad or lp-reviews
[01:22] <AlinuxOS> mdke, I think that now it's ok :)
[01:23] <AlinuxOS> Keys pending validation
[01:23] <AlinuxOS> :)
[01:23] <mdke> good
[01:24] <salgado> lifeless, I've emailed him the patch this morning, but I don't think he's going to show up before monday
[01:40] <AlinuxOS> mdke, ;)
[01:46] <AlinuxOS> sorry,a question: why use duplicated accounts ? What's utility to have 2 accounts ?
[01:49] <kiko> lifeless, I sell email on ebay
[01:49] <mdke> AlinuxOS: I can't think of one
[01:56] <mdke> spiv: awake?
[07:07] <rob> hi
[07:07] <rob> I need to make a request in launchpad to get my Ubuntu doc team svn password reset, how can I do this?
[07:15] <rob> never mind, random clicking worked :)
[09:15] <Mez> is there any way to unsubscribe from a bug
[09:17] <crimsun> click the Unsubscribe link in the upper left
[09:21] <Mez> ok, is there a way to unsubscribe a GROUP from a bug ?
[09:27] <`6og> is it possible to sync language translations? IE sync en_GB over any en_AU that hasnt been done
[09:29] <Mez> `6og try emailing rosetta@launchpad.net 
[09:29] <Mez> they should be able to help
[09:30] <`6og> Mez: thanks
[12:15] <`6og> ping channel
[12:15] <kgoetz> is there  a way to copy translations from one country to another? i'm hoping to get en_GB synced into any untranslated en_AU fields.
[12:19] <Mez> kgoetz as I told `6og earlier - email rosetta@launchpad.net
[12:20] <kgoetz> another list :( breaks my magic 42 :)
[12:21] <Mez> kgoetz as I told `6og earlier - email rosetta@launchpad.net
[12:21] <kgoetz> btw. sorry for asking twice, i forgot :( 
[12:22] <mdke> there is a better way
[12:24] <kgoetz> mdke: should i  be emailing someone else?
[12:28] <mdke> kgoetz: download the po file for en_GB, edit it how you want, then upload it as en_AU
[12:28] <mdke> but I have to say, personally I think you're a loony for translating to en_AU
[12:29] <ajmitch> mdke: why?
[12:29] <kgoetz> mdke: i have thought of it, but there's a lot of packages there
[12:29] <mdke> ajmitch: because I think that most people who speak english languages around the world understand each other fine
[12:30] <mdke> but it's a personal opinion, and not really on topic
[12:30] <ajmitch> yes, but it doesn't mean we have to force everyone to use americanisms :)
[12:30] <mdke> kgoetz: you can't do it in bulk, that's because en_GB and en_AU are different locales
[12:31] <mdke> ajmitch: true. I can see a case for it where the maintainer of a package uses an outrageous term, like "Start over" for gdm
[12:31] <ajmitch> there are a lot of small differences
[12:31] <mdke> most aren't worth worrying about tho, imo
[12:34] <mdke> definitely
[12:34] <jsgotangco> :P
[01:18] <ivoks> who can I ask to drop translation for some packages?
[01:20] <mdke> ivoks: ?
[01:21] <ivoks> mdke: in rosetta amarok (for croatian lang.) is translated in hindu
[01:21] <ivoks> https://launchpad.net/distros/ubuntu/dapper/+source/amarok/+pots/amarok/hr/+translate?show=translated
[01:22] <ivoks> i don't know how this happend, since Ravishankar Shrivastava was never member of croatian localisation team :)
[01:22] <mdke> how odd
[01:23] <mdke> ivoks: maybe the po file was included in the package, you should look at the amarok source and file a bug if so
[01:23] <ivoks> mdke: thanks
[01:25] <rpedro> anyone know a good tag editor for linux that sees MB's tags?
[02:35] <kiko> aw, carlos isn't around
[02:39] <desperado> I have a question about the ISO-3166 file I was translating.
[02:39] <desperado> What would be a good place to ask?
[02:39] <kiko> why not here?
[02:39] <kiko> it is saturday after all
[02:40] <desperado> Why not: Because I was send here as a place where people could redirect me.
[02:40] <desperado> But OK:
[02:40] <desperado> ISO-3166 lists names of countries; names and official names.
[02:40] <`6og> desperado: i sent you here for a redirect in case people didnt want to talk about translations - i'm not sure how all encompasing this channel is
[02:41] <desperado> For some countries there are two entries. For others there's only one. Why?
[02:42] <kiko> can you give examples, desperado?
[02:42] <desperado> `6og, OK, thanks.
[02:42] <desperado> kiko, hold on, I'll open it again.
[02:42] <`6og> np
[02:46] <desperado> For ARG - name: Argentina; official name: Argetnine Republic
[02:46] <kiko> desperado, so far ok
[02:47] <desperado> For ATG - name: Antigua and Barbuda
[02:47] <kiko> and what are you confused about?
[02:48] <desperado> Why is there just one name in the case of ATG?
[02:48] <kiko> the official name matches the name
[02:48] <kiko> (I believe)
[02:48] <desperado> In English?
[02:49] <kiko> good question
[02:49] <kiko> http://en.wikipedia.org/wiki/Argentina
[02:49] <kiko> The country is formally named Repblica Argentina
[02:49] <kiko> (it's Argentine ftr :)
[02:52] <desperado> I've now found the point again where I stumbled over it:
[02:52] <desperado> BRN - name: Brunei Darussalam
[02:52] <kiko> the actual name is negara brunei darussalam actually
[02:53] <desperado> In Frisian, that would be the officail name, with the name being Brunei
[02:53] <kiko> that sounds correct
[02:53] <desperado> kiko, that's to make things even more complicated
[02:53] <kiko> :)
[02:53] <desperado> But I have only one place to fill in the name
[02:54] <kiko> oh. that's not so good. what are you using to translate?
[02:54] <desperado> Rosetta
[02:55] <kiko> what URL?

[02:56] <kiko> lettuce c
[02:56] <desperado> (Well, it said rosetta when I went in there. It seems to have vanished from the URL.)
[02:58] <luks> hi
[02:58] <luks> can someone make https://launchpad.net/products/libtunepimp and https://launchpad.net/products/libmusicbrainz part of project https://launchpad.net/projects/musicbrainz ?
[02:58] <kiko> desperado, okay, the problem is actually in the original translation template.
[02:58] <desperado> luks, hi
[02:58] <kiko> luks, sure, one sec.
[02:59] <kiko> luks, done.
[02:59] <luks> thanks!
[02:59] <kiko> enjoy
[03:00] <desperado> OK, so how do we get extra fields in the original, even when they are the same in English?
[03:00] <kiko> you get extra fields because the template includes multiple entries for those fields.
[03:00] <desperado> Agreed.
[03:00] <kiko> rosetta really works based on the translation template in the source package.
[03:01] <desperado> So who could modify the template to solve this?
[03:01] <kiko> the iso-codes package's maintainer.
[03:01] <kiko> you can file a bug on /distros/ubuntu/+source/iso-codes
[03:01] <kiko> explaining what you want modified in the template
[03:01] <kiko> it is likely that it will be forwarded to /products/iso-codes
[03:02] <kiko> but that'll be the right way to go about it
[03:03] <desperado> OK. It doesn't list "maintainer" on the template page, so I was somewhat at a loss for that..
[03:03] <kiko> hmmm.
[03:03] <desperado> No, let's see how/where I file that bug.
[03:03] <kiko> I see yourpoint
[03:03] <desperado> Now
[03:04] <kiko> hmmm
[03:04] <kiko> yeah, the page structure makes that totally unobvious.
[03:05] <desperado> Are you saying it does say that somewhere?
[03:05] <kiko> well, no, but it does say you're translating the iso-codes package in dapper, so you can click there to find out where to file a bug, but it's just very broken.
[03:09] <desperado> ? You can click on Dapper? Or are you saying you can find your way there, then file a bug?
[03:11] <desperado> OK, I've reached the bug reporting page.
[03:13] <desperado> I see, if you know that a package has it's own link for bug reporting, you know where to do such things.
[03:13] <desperado> Except that you won't know until you've found that page.
[03:13] <kiko> yeah
[03:13] <kiko> it's just very unfortunate
[03:24] <desperado> kiko, OK, thanks. I filed it as a bug.
[03:24] <kiko> thanks desperado 
[04:25] <toma> signing code of conduct in malone seems broken, it keeps telling me it is not the right text, even when i change nothing and sign it
[04:26] <matsubara> toma: are you signing coc 1.0.1?
[04:26] <toma> matsubara: yes
[04:27] <matsubara> you might be running into bug 39547
[04:27] <Ubugtu> Malone bug 39547 in launchpad "Code of Conduct 1.0.1 signatures not accepted" [Critical,Confirmed]  http://launchpad.net/bugs/39547
[04:29] <toma> matsubara: okido, I will use the 1.0 version then
[04:30] <toma> thnxs
[04:30] <matsubara> toma: your're welcome
[05:09] <sabdfl> kiko, carlos: ping
[05:09] <sabdfl> https://wiki.launchpad.canonical.com/RosettaPotemplatePriorities
[05:10] <sabdfl> i thought i'd implement that quickly, and found that there is already a potemplate.priority
[05:10] <sabdfl> is it used anywhere
[05:10] <sabdfl> ?
[06:11] <sabdfl> SteveA: ping
[06:27] <pygi> any particular reason why CoC signing doesnt work right now?
[06:28] <matsubara> pygi: are you refereing to bug 39547 ?
[06:28] <Ubugtu> Malone bug 39547 in launchpad "Code of Conduct 1.0.1 signatures not accepted" [Critical,Confirmed]  http://launchpad.net/bugs/39547
[06:28] <pygi> indeed, sorry ... just found out it is a known bug
[06:29] <matsubara> s/refereing/referring/
[06:29] <kiko> it's so annoying
[06:31] <pygi> kiko, agreed, but it will be fixed by LP team eventually :)
[06:32] <SteveA> sabdfl: hi
[06:32] <kiko> I suspect I will have to look into it myself
[06:33] <pygi> nice :P
[06:58] <kiko> pygi, ping?
[06:58] <pygi> kiko, pong :)
[06:58] <kiko> what's your launchpad user id?
[06:59] <pygi> mario-danic
[06:59] <pygi> I have just signed 1.0 
[06:59] <kiko> did you manage to sign?
[06:59] <pygi> the version 1.0 is fine, but 1.0.1 is still no :)
[07:00] <kiko> ah, okay.
[07:04] <kiko> https://launchpad.net/people/ubuntero
[07:04] <kiko> isn't it ironic that he is actually not an ubuntero?
[07:06] <pygi> :P
[07:06] <pygi> heh
[09:19] <Burgundavia> do I need to gpg-sign mails to lp for opening bugs or do I just need an email addy in lp?
[09:23] <matsubara> Burgundavia: https://wiki.launchpad.canonical.com/MaloneEmailInterfaceUserDoc
[09:24] <Burgundavia> matsubara: ugh, ok
[09:25] <mdke> Burgundavia: don't tell me you don't like docs :)
[09:25] <Burgundavia> mdke: no, I dislike the whole gpg thing
[09:26] <mdke> ah
[09:26] <Burgundavia> as, I don't have my key on this machine, etc.
[09:29] <matsubara> and I have to go, cya guys