Package backend :: Package common
[hide private]
[frames] | no frames]

Source Code for Package backend.common

 1  # 
 2  # Copyright (c) 2008--2017 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  # Initialization file for the common module 
16  # 
17   
18   
19  # try to figure out if we're running under Apache or not 
20  try: 
21      from spacewalk.common.rhnApache import rhnApache 
22      import _apache 
23  except ImportError: 
24      # no _apache available, not running under apache/mod_python 
25      pass 
26   
27  __all__ = [] 
28