summaryrefslogtreecommitdiffstats
path: root/cobbler/settings.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-05-16 14:42:37 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-05-16 14:42:37 -0400
commit90666a4a0a3c918a31f7cdfd9fa9fd2a6ad48705 (patch)
tree2b135312747da84917c25486d90b57b6be5e9ccd /cobbler/settings.py
parent17f0ac054ef5bf160909095aaf119931edd5c39c (diff)
downloadthird_party-cobbler-90666a4a0a3c918a31f7cdfd9fa9fd2a6ad48705.tar.gz
third_party-cobbler-90666a4a0a3c918a31f7cdfd9fa9fd2a6ad48705.tar.xz
third_party-cobbler-90666a4a0a3c918a31f7cdfd9fa9fd2a6ad48705.zip
The settings file is now /etc/cobbler/settings, and cobbler's command line
will warn the user the old file is no longer in use and ask them to delete it before proceeding.
Diffstat (limited to 'cobbler/settings.py')
-rw-r--r--cobbler/settings.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/cobbler/settings.py b/cobbler/settings.py
index d147d4b..4670ab0 100644
--- a/cobbler/settings.py
+++ b/cobbler/settings.py
@@ -140,11 +140,3 @@ class Settings(serializable.Serializable):
else:
raise AttributeError, name
-if __name__ == "__main__":
- # used to save a settings file to /var/lib/cobbler/settings, for purposes of
- # including a new updated settings file in the RPM without remembering how
- # to format lots of YAML.
- import yaml
- print yaml.dump(DEFAULTS)
-
-