示例#1
0
#!/usr/bin/env python

import os, sys, re
from BuilderBase import BuilderBase, ActionError

#============================GLOBAL=CONSTANTS===================================

intBuildRelativePath = "IntBuild/IB/"
workflowDataRelativePath = "DQMRef/data"
workflowDataRelativePath_tests = "src/tests"
buildReportsDirName = 'build_comparison_reports'
outputReportBase = buildReportsDirName
bbase = BuilderBase()
buildReportsAFSBaseFQNPath = bbase.installDir
dqmReportsAFSBaseFQNPath = '/data/sdt/SDT/html/dqm'
frontEndMachine = 'vocms12'
afsWWWLogsRelativePath = 'pyRelValMatrixLogs/run'
reportWWWDir = 'report'

# ================================================================================


class ActionError(Exception):
    def __init__(self, msg):
        self.msg = msg
        return

    def __str__(self):
        return repr(self.msg)