In article ,
Morten Engvoldsen wrote:
> It is able to log the message with:
> logger.debug("value of payment_line is " +repr(payment_line))
As a side note, a better way to write that is
logger.debug("value of payment_line is %r", payment_line)
The difference is that the first way, repr(paymen
On 12/29/2012 03:50 PM, Morten Engvoldsen wrote:
Hi Dave,
> It is able to log the message with:
> logger.debug("value of payment_line is " +repr(payment_line))
>
> The output is:
> value of payment_line is []
>
> So it means payment_line is an empty list, so may be it could be
reason it's not a
Hi Dave,
It is able to log the message with:
logger.debug("value of payment_line is " +repr(payment_line))
The output is:
value of payment_line is []
So it means payment_line is an empty list, so may be it could be reason
it's not able to enter into the loop since the message in the for loop is
n
Hi Dev,
Thanks a lot Dev for your reply. It is really a great help. Yes i have
fixed what was wrong in the create method like log.debug. I have declared
line_counter=1 before the for loop. i will try now to chcek the value of
payment_line.
Thanks again a lot. I am greateful be a member of this f
On 12/29/2012 11:54 AM, Morten Engvoldsen wrote:
> Hi Dave,
> Thanks a lot for your reply. I have used logging.setLevel(logger.DEBUG)
> because of threshold as you said.
>
> I didn't copy paste the entire program since it was very huge. The "batch "
> which value i am trying to retrieve is in a a
On Sun, Dec 30, 2012 at 3:54 AM, Morten Engvoldsen wrote:
> but here payment_line has null value since it was not able to retrieve
> payment line value from the payment object.
Specifically what value? Is it an empty string? An empty list? The
singleton None?
ChrisA
--
http://mail.python.org/ma
Hi Dave,
Thanks a lot for your reply. I have used logging.setLevel(logger.DEBUG)
because of threshold as you said.
I didn't copy paste the entire program since it was very huge. The "batch "
which value i am trying to retrieve is in a a for loop :
for payment in payment_line:
but here payment_li
On 12/29/2012 07:39 AM, Morten Engvoldsen wrote:
> Hi Dave,
> Thanks for reply. I will really appreciate if you reply to my mail id and
> keep python list in cc, since everytime you reply my query i need to search
> the reply in the forwarding message of python list.
I won't be able to remember to
On Sat, Dec 29, 2012 at 11:39 PM, Morten Engvoldsen
wrote:
> Hi Dave,
> Thanks for reply. I will really appreciate if you reply to my mail id and
> keep python list in cc, since everytime you reply my query i need to search
> the reply in the forwarding message of python list.
The normal thing to
Hi Dave,
Thanks for reply. I will really appreciate if you reply to my mail id and
keep python list in cc, since everytime you reply my query i need to search
the reply in the forwarding message of python list.
Using logger.setLevel(logging.DEBUG) will log only debug message in the log
file and di
On 12/28/2012 09:27 AM, Morten Engvoldsen wrote:
> Hi Team,
> i am new to python and i am using python loggin for log the value of the
> object. Below is my code :
>
> class field:
> field_name = ""
> length = 0
> type = 0
> value = ""
>
> def __init__(self, field_name, length,
On 12/28/2012 09:27 AM, Morten Engvoldsen wrote:
> Hi Team,
> i am new to python
Welcome.
> and i am using python loggin for log the value of the
> object. Below is my code :
>
> class field:
> field_name = ""
> length = 0
> type = 0
> value = ""
>
> def __init__(self, field_
12 matches
Mail list logo