Channel is just type of object. I realize what my problem is. I don't
know why my object isn't saved correctly.
for chan in channels:
if chan.id == channel.id:
chan = session.merge(channel)
break
On Sep 13, 2:47 pm,
If I merge the updated channel like you can see in this piece of code
it's working:
def insertXML(channels, strXml):
Insert a new channel given XML string
channel = Channel()
session = rdb.Session()
channel.fromXML(strXml)
On Sep 13, 2010, at 2:13 PM, Alvaro Reinoso wrote:
If I merge the updated channel like you can see in this piece of code
it's working:
def insertXML(channels, strXml):
Insert a new channel given XML string
channel = Channel()
session =
Yes, I've done that. I doesn't work either.
for chan in channels:
if chan.id == channel.id:
chan = session.merge(channel)
break
On Sep 13, 2:27 pm, Michael
On Sep 13, 2010, at 2:31 PM, Alvaro Reinoso wrote:
Yes, I've done that. I doesn't work either.
for chan in channels:
if chan.id == channel.id:
chan = session.merge(channel)