CMS 3D CMS Logo

Namespaces | Functions | Variables
popcon2dropbox.py File Reference

Go to the source code of this file.

Namespaces

 popcon2dropbox
 

Functions

def popcon2dropbox.checkFile (dbName)
 
def popcon2dropbox.copy (args, dbName)
 
def popcon2dropbox.run (args)
 
def popcon2dropbox.saveFileForImportErrors (datef, dbName, withMetadata=False)
 
def popcon2dropbox.upload (args, dbName)
 

Variables

string popcon2dropbox.auth_path_key = 'COND_AUTH_PATH'
 
 popcon2dropbox.consoleHandler = logging.StreamHandler(sys.stdout)
 
string popcon2dropbox.dateformatForFolder = "%Y-%m-%d-%H-%M-%S"
 
string popcon2dropbox.dateformatForLabel = "%Y-%m-%d %H:%M:%S"
 
string popcon2dropbox.errorInImportFileFolder = 'import_errors'
 
string popcon2dropbox.fmt_str = "[%(asctime)s] %(levelname)s: %(message)s"
 
 popcon2dropbox.levStr = os.environ[messageLevelEnvVar]
 
 popcon2dropbox.logFormatter = logging.Formatter(fmt_str)
 
 popcon2dropbox.logger = logging.getLogger()
 
 popcon2dropbox.logLevel = logging.INFO
 
string popcon2dropbox.messageLevelEnvVar = 'POPCON_LOG_LEVEL'