summaryrefslogtreecommitdiffstats
path: root/cobbler/utils.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-09-25 11:16:57 -0400
committerJim Meyering <jim@meyering.net>2006-09-25 11:16:57 -0400
commit7bd876711dd8bc462d45895044f6de8fa8ddda4c (patch)
treeb3af216f84106b6605759eff3db23f8e299ead86 /cobbler/utils.py
parentf9c18fd3df9a84087f0695b070b681655064624a (diff)
downloadthird_party-cobbler-7bd876711dd8bc462d45895044f6de8fa8ddda4c.tar.gz
third_party-cobbler-7bd876711dd8bc462d45895044f6de8fa8ddda4c.tar.xz
third_party-cobbler-7bd876711dd8bc462d45895044f6de8fa8ddda4c.zip
Fix filename casing bug
Diffstat (limited to 'cobbler/utils.py')
-rw-r--r--cobbler/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/utils.py b/cobbler/utils.py
index 96cfa70..a1784ac 100644
--- a/cobbler/utils.py
+++ b/cobbler/utils.py
@@ -160,7 +160,7 @@ def find_kickstart(url):
x = url.lower()
for y in ["http://","nfs://","ftp://","/"]:
if x.startswith(y):
- if x.startswith("/") and not os.path.isfile(x):
+ if x.startswith("/") and not os.path.isfile(url):
return None
return url
return None