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)