#NEWLINE# @ _git_check #NEWLINE# def get_jigconfig( gitrepo ) : #NEWLINE# #INDENT# '\n    Gets the config for a jig initialized Git repo.\n    ' #NEWLINE# jig_dir = join ( gitrepo , JIG_DIR_NAME ) #NEWLINE# if ( not repo_jiginitialized ( gitrepo ) ) : #NEWLINE# #INDENT# raise GitRepoNotInitialized ( 'This repository has not been initialized.' ) #NEWLINE# #UNINDENT# with open ( join ( jig_dir , JIG_PLUGIN_CONFIG_FILENAME ) , 'r' ) as fh : #NEWLINE# #INDENT# plugins = SafeConfigParser ( ) #NEWLINE# plugins . readfp ( fh ) #NEWLINE# return plugins