Crash gentillement si pas de clientconfig
This commit is contained in:
parent
7926b69a20
commit
9bc3d2993d
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@ import os
|
||||||
import atexit
|
import atexit
|
||||||
import argparse
|
import argparse
|
||||||
import re
|
import re
|
||||||
import clientconfig as config
|
try:
|
||||||
|
import clientconfig as config
|
||||||
|
except ImportError:
|
||||||
|
print "Read the README"
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
## Password pattern in files:
|
## Password pattern in files:
|
||||||
PASS = re.compile('[\t ]*pass(?:word)?[\t ]*:[\t ]*(.*)\r?\n?$', \
|
PASS = re.compile('[\t ]*pass(?:word)?[\t ]*:[\t ]*(.*)\r?\n?$', \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue