Package glue :: Module git_version
[hide private]
[frames] | no frames]

Module git_version

source code

Classes [hide private]
  VersionMismatchError
Functions [hide private]
 
check_match(foreign_id, onmismatch='raise')
If foreign_id != id, perform an action specified by the onmismatch kwarg.
source code
Variables [hide private]
  __package__ = 'glue'
  author = 'Chris Pankow <chris.pankow@ligo.org>'
  branch = 'None'
  builder = 'Unknown User <>'
  committer = 'Chris Pankow <chris.pankow@ligo.org>'
  date = '2017-12-05 15:29:36 +0000'
  id = '8cbd1b7187ce3ed9a825d6ed11cc432f3cfde9a5'
  status = 'CLEAN: All modifications committed'
  tag = None
hash(x)
  verbose_msg = 'Branch: None\nTag: None\nId: 8cbd1b7187ce3ed9a8...
  version = '8cbd1b7187ce3ed9a825d6ed11cc432f3cfde9a5'
Function Details [hide private]

check_match(foreign_id, onmismatch='raise')

source code 

If foreign_id != id, perform an action specified by the onmismatch
kwarg. This can be useful for validating input files.

onmismatch actions:
  "raise": raise a VersionMismatchError, stating both versions involved
  "warn": emit a warning, stating both versions involved


Variables Details [hide private]

verbose_msg

Value:
'''Branch: None
Tag: None
Id: 8cbd1b7187ce3ed9a825d6ed11cc432f3cfde9a5

Builder: Unknown User <>
Build date: 2017-12-12 06:34:08 +0000
Repository status: CLEAN: All modifications committed'''