> Sam, is it different levels of Python that cause this, or OS, or DBM
> implementation or something else? The code tries to fall back to an empty
> map [using {}] when it can't get a database (as with M$), but I don't see
> that ought cause my problem (testing on Linux).
Ok, it seems it is somehow the Python implementation of the 'driver' that
talks to whichever DBM is available, or the DBM itself. Still, this
verbose/inelligant solution seems to satisfy brutus and gump.try and works
on a PC also. Hopefully it works on all.
def get(self,key):
key=str(key)
val=''
if self.db.has_key(key): val=str(self.db[key])
return val
I did the three methods:
http://cvs.apache.org/viewcvs.cgi/gump/python/gump/output/statsdb.py
regards,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]