Repository : http://git.fedorahosted.org/cgit/
On branch : v1.4
commit b2f6924fd9a493aa190ddfabcc054ca806fd320b Author: Matt Domsch Matt_Domsch@dell.com Date: Sat Jun 15 02:44:25 2013 -0500
umdl: return the right type of object
server/update-master-directory-list | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/server/update-master-directory-list b/server/update-master-directory-list index 8c37d42..1e8b20d 100755 --- a/server/update-master-directory-list +++ b/server/update-master-directory-list @@ -115,13 +115,13 @@ def guess_ver_arch_from_path(category, product_id, path):
# create Versions if we can figure it out... if ver is None: - ver = create_version_from_path(category, path) - if ver: - version_cache.append(dict(id = ver.id, - name = ver.name, - product_id = product_id, - ordered_mirrorlist = ver.ordered_mirrorlist) - ) + v = create_version_from_path(category, path) + if v: + ver = dict(id = v.id, name = v.name, + product_id = product_id, + ordered_mirrorlist = v.ordered_mirrorlist) + + version_cache.append(ver) return (ver, arch)
mirrormanager-commits@lists.fedorahosted.org