diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-09 18:19:09 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-09 18:19:09 -0400 |
commit | 3cc502a0b46d7771d713aa628475b5552a62f15e (patch) | |
tree | 48bdeafbb804ba85e95b042540f832a64ef01d4f /cobbler/utils.py | |
parent | 460256566c776a8a4f3db71de734049f6dd5baa2 (diff) | |
download | third_party-cobbler-3cc502a0b46d7771d713aa628475b5552a62f15e.tar.gz third_party-cobbler-3cc502a0b46d7771d713aa628475b5552a62f15e.tar.xz third_party-cobbler-3cc502a0b46d7771d713aa628475b5552a62f15e.zip |
In XMLRPC, dicts must have string keys, so changing NIC storage to be XMLRPC-friendly.
Diffstat (limited to 'cobbler/utils.py')
-rw-r--r-- | cobbler/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/utils.py b/cobbler/utils.py index 6613e42..acbede4 100644 --- a/cobbler/utils.py +++ b/cobbler/utils.py @@ -65,6 +65,7 @@ def get_config_filename(sys,interface=0): system config information in the Apache tree, so it's still relevant. """ + interface = str(interface) if not sys.interfaces.has_key(interface): raise CX(_("internal error: probing an interface that does not exist")) |