def create_git_action_for_new_amendment(self, new_amendment_id=None):
        """Checks out master branch as a side effect"""
        ga = self.create_git_action()
        assert new_amendment_id is not None
        # id should have been sorted out by the caller
        self.register_doc_id(ga, new_amendment_id)
        return ga, new_amendment_id
def create_git_action_for_new_amendment ( self , new_amendment_id = None ) : ga = self . create_git_action ( ) assert new_amendment_id is not None self . register_doc_id ( ga , new_amendment_id ) return ga , new_amendment_id
Checks out master branch as a side effect