Exemplo n.º 1
0
Arquivo: utils.py Projeto: dtgit/dtedu
 def getLicenseAndHolderFromObject(self, obj):
     """ Get the copyright holder and license from an object. """
     if ILicensable.providedBy(obj):
         license = ILicense(obj)
         return license.getRightsHolder(), license.getRightsLicense()
     else:
         return None