~andreserl/+junk/cobbler

« back to all changes in this revision

Viewing changes to cobbler/api.py

  • Committer: Andres Rodriguez
  • Date: 2011-12-09 19:21:57 UTC
  • Revision ID: andreserl@ubuntu.com-20111209192157-rul6dqkyaog2f3i5
Reverted changes back to rev50

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
        fd = open("/etc/cobbler/version")
224
224
        ydata = fd.read()
225
225
        fd.close()
226
 
        data = yaml.safe_load(ydata)
 
226
        data = yaml.load(ydata)
227
227
        if not extended:
228
228
            # for backwards compatibility and use with koan's comparisons
229
229
            elems = data["version_tuple"]