summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-03-02 09:55:27 -0500
committerBill Peck <bpeck@redhat.com>2010-03-02 09:55:27 -0500
commitdba710378ee808070efadd303dbc27fb91670eeb (patch)
treeacb92232b8ef4bbd062c806e00061f1bd79c8ca8
parent61cc63bb34664577e128e1761639d9fbd0ff657b (diff)
fix case issue
-rwxr-xr-xLabController/triggers/sync/post/osversion.trigger4
1 files changed, 2 insertions, 2 deletions
diff --git a/LabController/triggers/sync/post/osversion.trigger b/LabController/triggers/sync/post/osversion.trigger
index 07ba59b..5383832 100755
--- a/LabController/triggers/sync/post/osversion.trigger
+++ b/LabController/triggers/sync/post/osversion.trigger
@@ -141,7 +141,7 @@ def update_comment(distro):
paths = get_paths(distro)
if not paths:
- return Distro
+ return distro
family = ""
update = 0
data = glob.glob(os.path.join(paths['package_path'], "*release-*"))
@@ -153,7 +153,7 @@ def update_comment(distro):
b.find("centos") != -1:
data2.append(x)
if not data2:
- return Distro
+ return distro
filename = data2[0]
cpio_object = tempfile.TemporaryFile()
try: