From 0730f44bd1886e68118df8deed1735953d6ebb35 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 7 Mar 2008 17:07:00 -0500 Subject: Run reposync for local repos even if "RPM" is not contained in the path. --- cobbler/action_reposync.py | 2 +- cobbler/webui/master.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py index 462da47..32d38bd 100644 --- a/cobbler/action_reposync.py +++ b/cobbler/action_reposync.py @@ -260,7 +260,7 @@ class RepoSync: """ Used to run createrepo on a copied mirror. """ - if os.path.exists(os.path.join(dirname,"RPMS")) or not repo.is_rsync_mirror(): + if os.path.exists(os.path.join(dirname,"RPMS")) or repo.is_rsync_mirror(): utils.remove_yum_olddata(dirname) try: cmd = "createrepo %s %s" % (repo.createrepo_flags, dirname) diff --git a/cobbler/webui/master.py b/cobbler/webui/master.py index 785075e..48f3442 100644 --- a/cobbler/webui/master.py +++ b/cobbler/webui/master.py @@ -33,8 +33,8 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '2.0.1' __CHEETAH_versionTuple__ = (2, 0, 1, 'final', 0) -__CHEETAH_genTime__ = 1203954642.6229019 -__CHEETAH_genTimestamp__ = 'Mon Feb 25 10:50:42 2008' +__CHEETAH_genTime__ = 1204907251.215054 +__CHEETAH_genTimestamp__ = 'Fri Mar 7 11:27:31 2008' __CHEETAH_src__ = 'webui_templates/master.tmpl' __CHEETAH_srcLastModified__ = 'Fri Feb 15 14:47:43 2008' __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' -- cgit