Crash gentillement si pas de clientconfig

This commit is contained in:
Daniel STAN 2012-12-28 01:56:46 +01:00
parent 7926b69a20
commit 9bc3d2993d

View file

@ -10,7 +10,11 @@ import os
import atexit
import argparse
import re
import clientconfig as config
try:
import clientconfig as config
except ImportError:
print "Read the README"
sys.exit(1)
## Password pattern in files:
PASS = re.compile('[\t ]*pass(?:word)?[\t ]*:[\t ]*(.*)\r?\n?$', \