mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Add python 2.3 logging to the tree. Only install if not present. Convert xend to use logging.
12 lines
380 B
Python
12 lines
380 B
Python
#============================================================================
|
|
# Install the logging package from python 2.3 if not present.
|
|
#============================================================================
|
|
import os
|
|
|
|
try:
|
|
import logging
|
|
except ImportError:
|
|
print 'logging package not found: installing'
|
|
os.chdir('logging-0.4.9.2')
|
|
execfile('setup.py')
|