コード例 #1
0
ファイル: server_class.py プロジェクト: dewayneHat/spacewalk
 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
ファイル: server_class.py プロジェクト: yanheven/spacewalk
 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)