Line replace

Paul Rubin http
Sun Jan 1 07:59:24 EST 2006


DarkBlue <nomail at nixmail.com> writes:
> Now our authorized clients register themselves automatically with
> computername,id and ip address via a small python script which sends this
> information to a firebird database on our server...
> Every client has a marker in the hosts.allow file
> so if a change occurs one line shall be replaced 
> by another line on the fly.

Why don't you use the database to store those markers?  It should
support concurrent updates properly.  That's a database's job.



More information about the Python-list mailing list