[00:00] ebroder: sorry. copy-paste mistake [00:01] ebroder: nope. still the same error. [00:01] Hmm...my __builtins__ is a module object, not a dict. Weird. Maybe try import __builtin__ then StubOutWithMock(__builtin__, 'open')? [00:02] Although, come to think of it, I don't know if that will re-bind open in every module's namespace [00:02] I *think* it will [00:03] Looks like it does, at least for Maverick's python 2.6. No idea if that's guaranteed behavior, though [00:04] bdrung: shortened pylint.conf seems to work fine. I'll commit it to trunk [00:04] tumbleweed: trunk? did you a build test? [00:04] no, /me does that [00:06] ebroder: http://paste.ubuntu.com/547823/ [00:07] bdrung: __builtin__.open().AndReturn, not __builtin__.FunctionToMock() [00:07] ebroder: this fails with: AttributeError: MockMethod has no attribute "readlines". Did you remember to put your mocks in replay mode? [00:07] bdrung: You need to call self.mox.ReplayAll() before actually trying to use the mocks [00:07] ebroder: i should go in bed instead of coding. ;) [00:08] ebroder: http://paste.ubuntu.com/547824/ [00:08] bdrung: hmm, natty's pylint seems pickier than squeezes, it won't be landing in trunk quite yet... [00:09] bdrung: Hmm, also, if your test class subclasses mox.MoxTestBase instead of unittest.WhateverItIs, it'll automatically create a self.mox object for you and cleanup when the test is done [00:09] I don't know where I learned that from, because I can't find it in the docs at the moment... [00:11] ebroder: class UpdateMaintainerTestCase(mox.MoxTestBase): --> AttributeError: 'UpdateMaintainerTestCase' object has no attribute 'mox' [00:12] Uh...you may need to do super(UpdateMaintainerTestCase, self).setUp() in your setup method [00:12] (at the top of, rather) [00:12] bdrung: Let me see if I can drudge up a test case [00:12] Err, example case, rather [00:13] ebroder: you can use test_update_maintainer as example (only two functions to overwrite) [00:17] bdrung: Looking closer, I don't think you actually want to use mox itself, which is designed for keeping track of the calls that get made to the things you're stubbing out. But mox does have a helper library for replacing functions and putting them back when you're done. Let me see if I can make that work for what you want [00:20] tumbleweed: isn't max-line-length=80 the default? [00:21] bdrung: sure, but it's also a style choice we stand by [00:21] * tumbleweed must go to bed [00:36] bdrung: http://pastebin.com/1rpguR3r is the patch I came up with. It really uses a helper library that mox ships with more than mox itself, but it's maybe a little cleaner [00:48] ebroder: thanks. that clean and works. [01:23] I use dh_auto-configure in rules file,but it auto with --linux-gnu-x64-86 (I forget how it write),so it can't configure the optin and exit 1,and to desable it [01:24] randy_: what adds --linux-gnu-x64-86? [01:25] azeem_, I don't add it,I package ffmpeg [01:25] so where does it come from? [01:26] azeem_, I said ,the dh_auto_configure in rules file,when I packaged,it will add auto [01:26] sorry, I don't understand you [01:27] azeem_, the source is came gorm svn [01:28] azeem_, and folloe debian maint-guide [01:29] randy_: do you base on package from archive? [01:29] if so, please look in debian/changelog [01:30] azeem_, thank you,I will come back in the noon,the recess time is over,thank you,I don't donw the package from apt-get source.Tkan you [04:02] azeem_, are you online,I'm come back [04:11] I use dh_auto-configure in rules file,but it auto with --linux-gnu-x64-86 (I forget how it is),so it can't configure the optin and exit 1,and to desable it [04:11] I use the source from svn,not apt-get source === dotblank-away is now known as dotblank [05:06] I use dh_auto-configure in rules file,but it auto with --linux-gnu-x64-86 (I forget how it is),so it can't configure the optin and exit 1,and to desable it [05:06] I use the source from svn,not apt-get source [05:29] Hi [05:30] i cant put my password when i type any sudo command in the terminal [05:30] could you help me [05:47] w00t was able to make my first package using pbuilder === duanedes1gn is now known as duanedesign === yofel_ is now known as yofel [12:09] tumbleweed: merged and pushed === vish is now known as evilvish === akoskm is now known as akoskm`away === Quintasan_ is now known as Quintasan === Amaranth_ is now known as Amaranth [15:40] how can I restore my ssh key? seems it to be lost after migrate from gnome to kde === jtimberman_ is now known as jtimberman [15:59] ari-tczew: it should still be present in ~/.ssh/ [16:00] kklimonda: there is ird_rsa, id_rsa.pub and known_hosts. however, software couldn't see them - like bzr or filezilla [16:03] id_rsa should be your key (unless something overwrote it) - what do you mean by couldn't see? maybe you just don't have a ssh agent running and you have to unlock key every time you use it? === akoskm`away is now known as akoskm [16:05] kklimonda: every time? it's a joke [16:12] ari-tczew: why? I'm sure that there is an ssh agent for KDE you can use. === sebner_ is now known as sebner [17:42] hggdh: ping on bug 663925 [17:42] Launchpad bug 663925 in ncmpcpp (Ubuntu Maverick) "ncmpcpp (version < 0. 5.4) can cause unexpected deletion of files" [Undecided,New] https://launchpad.net/bugs/663925 === apachelogger is now known as darthlogger [19:50] ari-tczew: will look at it this week [19:50] ari-tczew: got busy with work, sorry === darthlogger is now known as apachelogger [20:05] hggdh: ok === jenkins1 is now known as jenkins [22:00] Laney: around? [22:07] soren: can you fix "Access to a protected member _blocks of a client class" in submittodebian? === dotblank is now known as dotblank-away