[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 1/1] The lambda function in run() is not needed.

On 05/05/2009 02:07 PM, Joel Granados wrote:
On Tue, May 05, 2009 at 01:25:00PM +0200, Hans de Goede wrote:

I'm afraid this is not going to work, as partedExceptionWindow
needs anaconda as argument and parted won't pass that in, that
was the whole purpose of the lamda (afaik)

There are three partedExceptionWindow functions.  one in text.py one in
cmdline.py and one in gui.py.  If you notice I change the call from
partedExceptionWindow to self.partedExceptionWindow.  and the
partedExceptionWindow function that is in text.py does not need the
anaconda object.

Now if the intention was to use the function from another file.  Than I
am mistaken.  Was that the intention?

I don't know, it would be best to ask clumens, he did the original patch
creating the problem,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]