Esempio n. 1
0
 def _hasPotteryCompatibleSetup(cls, branch):
     if cls.fake_pottery_compatibility is None:
         # No fake compatibility setting call the real method.
         return TranslationTemplatesBuildJob._hasPotteryCompatibleSetup(
             branch)
     else:
         # Fake pottery compatibility.
         return cls.fake_pottery_compatibility
 def _hasPotteryCompatibleSetup(cls, branch):
     if cls.fake_pottery_compatibility is None:
         # No fake compatibility setting call the real method.
         return TranslationTemplatesBuildJob._hasPotteryCompatibleSetup(
             branch)
     else:
         # Fake pottery compatibility.
         return cls.fake_pottery_compatibility