CedarBackup2.actions.constants

Package CedarBackup2 :: Package actions :: Module constants |
[hide private]
[frames] | no frames]

# Source Code for Module CedarBackup2.actions.constants

     1  # -*- coding: iso-8859-1 -*-
     2  # vim: set ft=python ts=3 sw=3 expandtab:
     3  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
     4  #
     5  #              C E D A R
     6  #          S O L U T I O N S       "Software done right."
     7  #           S O F T W A R E
     8  #
     9  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    10  #
    11  # Author   : Kenneth J. Pronovici <pronovic@ieee.org>
    12  # Language : Python (>= 2.5)
    13  # Project  : Cedar Backup, release 2
    14  # Revision : $Id: constants.py 998 2010-07-07 19:56:08Z pronovic $
    15  # Purpose  : Provides common constants used by standard actions.
    16  #
    17  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    18
    19  ########################################################################
    20  # Module documentation
    21  ########################################################################
    22
    23  """
    24  Provides common constants used by standard actions.
    25  @sort: DIR_TIME_FORMAT, DIGEST_EXTENSION, INDICATOR_PATTERN,
    26         COLLECT_INDICATOR, STAGE_INDICATOR, STORE_INDICATOR
    27  @author: Kenneth J. Pronovici <pronovic@ieee.org>
    28  """
    29
    30  ########################################################################
    31  # Module-wide constants and variables
    32  ########################################################################
    33
    34  DIR_TIME_FORMAT      = "%Y/%m/%d"
    35  DIGEST_EXTENSION     = "sha"
    36
    37  INDICATOR_PATTERN    = [ "cback\..*", ]
    38  COLLECT_INDICATOR    = "cback.collect"
    39  STAGE_INDICATOR      = "cback.stage"
    40  STORE_INDICATOR      = "cback.store"
    41