User Tools

Site Tools


doc:appunti:prog:python_flock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:appunti:prog:python_flock [2010/12/02 12:17] – created niccolodoc:appunti:prog:python_flock [2010/12/02 12:20] (current) niccolo
Line 20: Line 20:
  
 if not lock: if not lock:
-    print "ERROR: cannot lock file /etc/apache2/htpasswd for writing."+    sys.stderr.write("ERROR: cannot lock file /etc/apache2/htpasswd for writing.\n")
     sys.exit(1)     sys.exit(1)
  
doc/appunti/prog/python_flock.1291288648.txt.gz · Last modified: 2010/12/02 12:17 by niccolo