Functions | |
def | checkFile |
def | copy |
def | run |
def | saveFileForImportErrors |
def | upload |
Variables | |
string | auth_path_key = 'COND_AUTH_PATH' |
tuple | consoleHandler = logging.StreamHandler(sys.stdout) |
string | dateformatForFolder = "%Y-%m-%d-%H-%M-%S" |
string | dateformatForLabel = "%Y-%m-%d %H:%M:%S" |
string | errorInImportFileFolder = 'import_errors' |
string | fmt_str = "[%(asctime)s] %(levelname)s: %(message)s" |
list | levStr = os.environ[messageLevelEnvVar] |
tuple | logFormatter = logging.Formatter(fmt_str) |
tuple | logger = logging.getLogger() |
logLevel = logging.INFO | |
string | messageLevelEnvVar = 'POPCON_LOG_LEVEL' |
def popcon2dropbox.checkFile | ( | dbName | ) |
Definition at line 32 of file popcon2dropbox.py.
References str.
Referenced by run().
def popcon2dropbox.copy | ( | args, | |
dbName | |||
) |
Definition at line 126 of file popcon2dropbox.py.
References print(), saveFileForImportErrors(), and str.
Referenced by run().
def popcon2dropbox.run | ( | args | ) |
Definition at line 160 of file popcon2dropbox.py.
References checkFile(), copy(), print(), and upload().
def popcon2dropbox.saveFileForImportErrors | ( | datef, | |
dbName, | |||
withMetadata = False |
|||
) |
def popcon2dropbox.upload | ( | args, | |
dbName | |||
) |
Definition at line 80 of file popcon2dropbox.py.
References print(), saveFileForImportErrors(), and str.
Referenced by run().
string popcon2dropbox.auth_path_key = 'COND_AUTH_PATH' |
Definition at line 16 of file popcon2dropbox.py.
tuple popcon2dropbox.consoleHandler = logging.StreamHandler(sys.stdout) |
Definition at line 28 of file popcon2dropbox.py.
string popcon2dropbox.dateformatForFolder = "%Y-%m-%d-%H-%M-%S" |
Definition at line 13 of file popcon2dropbox.py.
string popcon2dropbox.dateformatForLabel = "%Y-%m-%d %H:%M:%S" |
Definition at line 14 of file popcon2dropbox.py.
string popcon2dropbox.errorInImportFileFolder = 'import_errors' |
Definition at line 12 of file popcon2dropbox.py.
string popcon2dropbox.fmt_str = "[%(asctime)s] %(levelname)s: %(message)s" |
Definition at line 19 of file popcon2dropbox.py.
list popcon2dropbox.levStr = os.environ[messageLevelEnvVar] |
Definition at line 22 of file popcon2dropbox.py.
tuple popcon2dropbox.logFormatter = logging.Formatter(fmt_str) |
Definition at line 25 of file popcon2dropbox.py.
tuple popcon2dropbox.logger = logging.getLogger() |
Definition at line 26 of file popcon2dropbox.py.
popcon2dropbox.logLevel = logging.INFO |
Definition at line 20 of file popcon2dropbox.py.
Referenced by edm::storage::DavixFile.configureDavixLogLevel().
string popcon2dropbox.messageLevelEnvVar = 'POPCON_LOG_LEVEL' |
Definition at line 18 of file popcon2dropbox.py.