diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-02-19 12:51:28 -0500 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-19 12:51:28 -0500 |
commit | fbd232abc00ea43d64f7e30ee03052d10b83328f (patch) | |
tree | 8b9dbdf017673811bc877612c7b5febc676d5756 /cobbler/Cheetah/Unspecified.py | |
parent | 102483e058ecffd07641482758b652ae540f5f7f (diff) | |
download | third_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.py | 9 |
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() |