diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2009-03-05 14:15:01 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2009-03-05 14:15:41 -0500 |
commit | 84160a5aaa157b520cbc9de2db6852dfd1d6c736 (patch) | |
tree | 1c006c8a7d92d8b41ebaff77396302ded9c01883 /cobbler | |
parent | ad1e9cefafbdb8f63cab54cf244ad04d67272e45 (diff) | |
download | cobbler-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.py | 2 |
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 |