def set_scm(scm):
 if (scm is not None):
  if (not isinstance(scm, Scm)):
   raise ValueError(u'The scm must be an instance of Scm, given {}'.format(scm))
  global _SCM
  _SCM = scm

def set_scm ( scm ) : if ( scm is not None ) : if ( not isinstance ( scm , Scm ) ) : raise ValueError ( u'The scm must be an instance of Scm, given {}' . format ( scm ) ) global _SCM _SCM = scm
sets the pants scm .