summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2009-03-05 14:15:01 -0500
committerMichael DeHaan <mdehaan@redhat.com>2009-03-05 14:15:41 -0500
commit84160a5aaa157b520cbc9de2db6852dfd1d6c736 (patch)
tree1c006c8a7d92d8b41ebaff77396302ded9c01883 /cobbler
parentad1e9cefafbdb8f63cab54cf244ad04d67272e45 (diff)
downloadcobbler-84160a5aaa157b520cbc9de2db6852dfd1d6c736.tar.gz
cobbler-84160a5aaa157b520cbc9de2db6852dfd1d6c736.tar.xz
cobbler-84160a5aaa157b520cbc9de2db6852dfd1d6c736.zip
Remove a stray old-YAML-library reference
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index fd7a09ce..655bb413 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -209,7 +209,7 @@ class BootAPI:
version_tuple -- something like [ 1, 3, 2 ]
"""
fd = open("/var/lib/cobbler/version")
- data = yaml.load(fd.read()).next()
+ data = yaml.load(fd.read())
fd.close()
if not extended:
# for backwards compatibility and use with koan's comparisons