コード例 #1
0
ファイル: models_versioned.py プロジェクト: sgaist/zds-site
 def get_conclusion(self):
     """
     :return: the conclusion from the file in ``self.conclusion``
     :rtype: str
     """
     if self.conclusion:
         return get_blob(self.top_container().repository.commit(self.top_container().current_version).tree,
                         self.conclusion)
コード例 #2
0
ファイル: versioned.py プロジェクト: josephcab/zds-site
 def get_conclusion(self):
     """
     :return: the conclusion from the file in ``self.conclusion``
     :rtype: str
     """
     if self.conclusion:
         return get_blob(self.top_container().repository.commit(self.top_container().current_version).tree,
                         self.conclusion)
コード例 #3
0
ファイル: models_versioned.py プロジェクト: sgaist/zds-site
 def get_text(self):
     """
     :return: versioned text
     :rtype: str
     """
     if self.text:
         return get_blob(
             self.container.top_container().repository.commit(self.container.top_container().current_version).tree,
             self.text)
コード例 #4
0
ファイル: versioned.py プロジェクト: josephcab/zds-site
 def get_text(self):
     """
     :return: versioned text
     :rtype: str
     """
     if self.text:
         return get_blob(
             self.container.top_container().repository.commit(self.container.top_container().current_version).tree,
             self.text)