summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-04-27 10:39:42 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-04-27 10:39:42 -0400
commite677030f027c3fcdcb842a1a95afc943125c2268 (patch)
tree00f086185de075a85ba86ee5d7a6ed18b63d65fb
parent98a5cfbf1cb674d5fb92112a0bebfd0e2313a913 (diff)
downloadthird_party-cobbler-e677030f027c3fcdcb842a1a95afc943125c2268.tar.gz
third_party-cobbler-e677030f027c3fcdcb842a1a95afc943125c2268.tar.xz
third_party-cobbler-e677030f027c3fcdcb842a1a95afc943125c2268.zip
Remove hardcode of /var/www/cobbler from cobblerd
-rw-r--r--cobbler/cobblerd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py
index 263c9d5..9724d83 100644
--- a/cobbler/cobblerd.py
+++ b/cobbler/cobblerd.py
@@ -125,7 +125,7 @@ class CobblerXMLRPCInterface:
return self.__get_specific(self.api.repos(),name)
def __get_for_koan(self,dir,name):
- path = os.path.join("/var/www/cobbler/", dir, name)
+ path = os.path.join(settings.webdir, dir, name)
if not os.path.exists(path):
return {}
fd = open(path)