Package backend :: Package server :: Package action_extra_data :: Module rollback
[hide private]
[frames] | no frames]

Source Code for Module backend.server.action_extra_data.rollback

 1  # 
 2  # Copyright (c) 2008--2015 Red Hat, Inc. 
 3  # 
 4  # This software is licensed to you under the GNU General Public License, 
 5  # version 2 (GPLv2). There is NO WARRANTY for this software, express or 
 6  # implied, including the implied warranties of MERCHANTABILITY or FITNESS 
 7  # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 
 8  # along with this software; if not, see 
 9  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 
10  # 
11  # Red Hat trademarks are not licensed under GPLv2. No permission is 
12  # granted to use or replicate Red Hat trademarks that are incorporated 
13  # in this software or its documentation. 
14  # 
15  # 
16   
17  from spacewalk.common.rhnLog import log_debug 
18   
19  # the "exposed" functions 
20  __rhnexport__ = ['config', 'listTransactions', 'rollback'] 
21   
22   
23 -def config(server_id, action_id, data={}):
24 if not data: 25 return 26 log_debug(2, "action_error.rollback.config: Should do something " 27 "useful with this data", server_id, action_id, data)
28 29
30 -def listTransactions(server_id, action_id, data={}):
31 if not data: 32 return 33 log_debug(2, "action_error.rollback.listTransactions: Should do something " 34 "useful with this data", server_id, action_id, data)
35 36
37 -def rollback(server_id, action_id, data={}):
38 if not data: 39 return 40 log_debug(2, "action_error.rollback.listTransactions: Should do something " 41 "useful with this data", server_id, action_id, data)
42