Exemple #1
0
 def set_qos(self):
     """ convenient wrapper for these thing until we clean the code up """
     if not self.server.has_key("id"):
         return 1  # meaningless if rhnFault not raised
     return server_lib.set_qos(self.server["id"])
Exemple #2
0
 def set_qos(self):
     """ convenient wrapper for these thing until we clean the code up """
     if not self.server.has_key("id"):
         return 1  # meaningless if rhnFault not raised
     return server_lib.set_qos(self.server["id"])