class RarslaveConfig(object):
DEFAULT_CONFIG_FILE = PAR2Set.utils.absolutePath(
- os.path.join('~', '.config', 'rarslave2', 'rarslave2.conf'))
+ os.path.join('~', '.config', 'rarslave', 'rarslave.conf'))
def __init__(self, fileName=DEFAULT_CONFIG_FILE):
def runEachType(cs, options):
types = (
+ PAR2Set.JoinProtected,
PAR2Set.Join,
PAR2Set.ZIP,
PAR2Set.OldRAR,
for cs in sets:
try:
runEachType(cs, options)
- except:
+ except Exception, e:
+ import traceback
logging.error('Unknown Exception: %s' % cs.parityFile)
+ logging.error('===== BEGIN Bactrace =====')
+ [logging.error(l) for l in traceback.format_exc(e).split('\n')]
+ logging.error('===== END Bactrace =====')
################################################################################