summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Bcfg2/Compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Compat.py b/src/lib/Bcfg2/Compat.py
index 820dd9d1e..74f660216 100644
--- a/src/lib/Bcfg2/Compat.py
+++ b/src/lib/Bcfg2/Compat.py
@@ -172,6 +172,8 @@ except ImportError:
for item in walk_packages(path, name + '.', onerror):
yield item
except ImportError:
+ import os
+
def walk_packages(path=None, prefix='', onerror=None):
""" imperfect, incomplete implementation of
walk_packages() for python 2.4. Differences: