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