[impression] catcher moins d'exceptions

Ignore-this: 43db138498d4826e930082574bc2864a
Pour gagner plu^U

darcs-hash:20120627162611-28565-eeff7a2664c98f931066572df60f9fc7b394508e.gz
This commit is contained in:
Daniel STAN 2012-06-27 18:26:11 +02:00
parent ca93d5895e
commit c496e1f166

View file

@ -128,7 +128,7 @@ def _uniq_jid():
f = file(fname,'r+') f = file(fname,'r+')
cur = int(f.read())+1 cur = int(f.read())+1
f.seek(0) f.seek(0)
except: except (IOError,ValueError):
cur = 0 cur = 0
f = file(fname,'w') f = file(fname,'w')
f.write(str(cur)) f.write(str(cur))