summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-11-06 15:57:14 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-11-06 15:57:14 -0500
commit5a645c09df20c7fea91bcf246c05dbd160c8612a (patch)
tree0cb7fd963c76c1ec31d48850937f07a481e9d059 /cobbler
parente17deaeb6f048849ccc8362dc314052b413e4ef6 (diff)
downloadthird_party-cobbler-5a645c09df20c7fea91bcf246c05dbd160c8612a.tar.gz
third_party-cobbler-5a645c09df20c7fea91bcf246c05dbd160c8612a.tar.xz
third_party-cobbler-5a645c09df20c7fea91bcf246c05dbd160c8612a.zip
Fix deference of unused variable.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_import.py2
-rw-r--r--cobbler/webui/master.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/cobbler/action_import.py b/cobbler/action_import.py
index 9bf18ba..660c154 100644
--- a/cobbler/action_import.py
+++ b/cobbler/action_import.py
@@ -353,7 +353,7 @@ class Importer:
if x == "base" or x == "repodata":
# only run the repo scanner on directories that contain a comps.xml
gloob1 = glob.glob("%s/%s/comps*.xml" % (dirname,x))
- if len(gloob1) >= 1 or len(gloob2) >= 1:
+ if len(gloob1) >= 1:
if matches.has_key(dirname):
print _("- looks like we've already scanned here: %s") % dirname
continue
diff --git a/cobbler/webui/master.py b/cobbler/webui/master.py
index 9dd79d5..e77f857 100644
--- a/cobbler/webui/master.py
+++ b/cobbler/webui/master.py
@@ -33,8 +33,8 @@ VFN=valueForName
currentTime=time.time
__CHEETAH_version__ = '2.0rc8'
__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
-__CHEETAH_genTime__ = 1193780329.9635999
-__CHEETAH_genTimestamp__ = 'Tue Oct 30 17:38:49 2007'
+__CHEETAH_genTime__ = 1194370912.779876
+__CHEETAH_genTimestamp__ = 'Tue Nov 6 12:41:52 2007'
__CHEETAH_src__ = 'webui_templates/master.tmpl'
__CHEETAH_srcLastModified__ = 'Mon Oct 29 16:39:12 2007'
__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'