renaming functions inputs

This commit is contained in:
gauthiier 2014-08-20 19:14:40 +02:00
parent f8cbdc9aa5
commit e3164b8147
2 changed files with 5 additions and 5 deletions

View File

@ -7,11 +7,12 @@ markups = {'QUOTES' : ('PAGE', 'pp', 'tags', 'quote', 'fpc'), 'NOTES' : ('NOTE',
output = {'QUOTES' : [], 'NOTES' : []}
def error(cargo):
def error(c):
fp, l = c
# Don't want to get here! Unidentifiable line
sys.stderr.write('Unidentifiable line:\n'+ line)
sys.stderr.write('Unidentifiable line:\n'+ l)
def eof(cargo):
def eof(c):
# Normal termination -- Cleanup code might go here.
sys.stdout.write('Processing Successful\n')
fpindx = open('.indx','wb')

View File

@ -7,10 +7,9 @@ if [[ -e "$WHERE/CONFIG" ]]; then
source $WHERE/CONFIG
fi
OUT=txt # defaults to txt output
OPTIND=1 #reset getopts
OUT=txt # default output
while getopts :b:r:o: opts; do
case $opts in
b)