summaryrefslogtreecommitdiffstats
path: root/cobbler/Cheetah/Unspecified.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-02-19 12:51:28 -0500
committerJim Meyering <jim@meyering.net>2007-02-19 12:51:28 -0500
commitfbd232abc00ea43d64f7e30ee03052d10b83328f (patch)
tree8b9dbdf017673811bc877612c7b5febc676d5756 /cobbler/Cheetah/Unspecified.py
parent102483e058ecffd07641482758b652ae540f5f7f (diff)
downloadthird_party-cobbler-fbd232abc00ea43d64f7e30ee03052d10b83328f.tar.gz
third_party-cobbler-fbd232abc00ea43d64f7e30ee03052d10b83328f.tar.xz
third_party-cobbler-fbd232abc00ea43d64f7e30ee03052d10b83328f.zip
Bundling Cheetah for backwards compatibility, and associated changes to specfiles/etc.
Diffstat (limited to 'cobbler/Cheetah/Unspecified.py')
-rw-r--r--cobbler/Cheetah/Unspecified.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/cobbler/Cheetah/Unspecified.py b/cobbler/Cheetah/Unspecified.py
new file mode 100644
index 0000000..89c5176
--- /dev/null
+++ b/cobbler/Cheetah/Unspecified.py
@@ -0,0 +1,9 @@
+try:
+ from ds.sys.Unspecified import Unspecified
+except ImportError:
+ class _Unspecified:
+ def __repr__(self):
+ return 'Unspecified'
+ def __str__(self):
+ return 'Unspecified'
+ Unspecified = _Unspecified()