예제 #1
0
 def getInstallMethod(self, productname):
     """ Return the installer method
     """
     res = get_install_method(productname)
     if res is None:
         raise AttributeError('No Install method found for '
                              'product %s' % productname)
     return res
예제 #2
0
 def getInstallMethod(self, productname):
     """ Return the installer method
     """
     res = get_install_method(productname)
     if res is None:
         raise AttributeError('No Install method found for '
                              'product %s' % productname)
     return res
예제 #3
0
 def getInstallMethod(self):
     """ returns the installer method """
     res = get_install_method(self.id)
     if res is None:
         raise AttributeError('No Install method found for '
                              'product %s' % self.id)
     else:
         return res
예제 #4
0
 def getInstallMethod(self):
     """ returns the installer method """
     res = get_install_method(self.id)
     if res is None:
         raise AttributeError('No Install method found for '
                              'product %s' % self.id)
     else:
         return res