~andreserl/+junk/cobbler

« back to all changes in this revision

Viewing changes to scripts/index.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:
109
109
    fd = open("/etc/cobbler/settings")
110
110
    data = fd.read()
111
111
    fd.close()
112
 
    ydata = yaml.safe_load(data)
 
112
    ydata = yaml.load(data)
113
113
    remote_port = ydata.get("xmlrpc_port", 25151)
114
114
 
115
115
    mode = form.get('mode','index')