- Original Message -
I want to fix an error in some code I have installed, however I don't
really want to just bodge it.
The function producing the error is:-
def get_text(self, idx): # override !
node = self.items[idx]
a= [
,
On Monday, October 15, 2012 1:33:02 PM UTC+2, (unknown) wrote:
I want to fix an error in some code I have installed, however I don't
really want to just bodge it.
The function producing the error is:-
def get_text(self, idx): # override !
node =
Marco Nawijn naw...@gmail.com wrote:
On Monday, October 15, 2012 1:33:02 PM UTC+2, (unknown) wrote:
I want to fix an error in some code I have installed, however I don't
really want to just bodge it.
The function producing the error is:-
def get_text(self, idx):
I want to fix an error in some code I have installed, however I don't
really want to just bodge it.
The function producing the error is:-
def get_text(self, idx): # override !
node = self.items[idx]
a= [
, .join(node.tags),
node.comment,
tinn...@isbd.co.uk writes:
I want to fix an error in some code I have installed, however I don't
really want to just bodge it. ...
Now its *probably* something higher up the tree causing the problem
(it's only one particular image in 20 thousand or so that breaks
things) but I really want to
On Mon, Oct 15, 2012 at 4:23 AM, tinn...@isbd.co.uk wrote:
I want to fix an error in some code I have installed, however I don't
really want to just bodge it.
bodge. Well, I learned a new word this morning!
The function producing the error is:-
def get_text(self, idx): #
In article 1b8tk9-un9@chris.zbmc.eu, tinn...@isbd.co.uk wrote:
The function producing the error is:-
def get_text(self, idx): # override !
node = self.items[idx]
a= [
, .join(node.tags),
node.comment,
I want to fix an error in some code I have installed, ...
Apart from all the reasons why it's bad (see the Python Zen #10). One way to do
it is:
return [i or '' for i in a]
--
http://mail.python.org/mailman/listinfo/python-list
On 10/15/2012 7:23 AM, tinn...@isbd.co.uk wrote:
I want to fix an error in some code I have installed, however I don't
really want to just bodge it.
The function producing the error is:-
def get_text(self, idx): # override !
node = self.items[idx]
a= [