[Blends-commit] [SCM] website branch, master, updated. b0e0ffb600017472d5b2ae10fbae757eb1480774

Ole Streicher olebole at debian.org
Sat Mar 19 13:55:43 UTC 2016


The following commit has been merged in the master branch:
commit b0e0ffb600017472d5b2ae10fbae757eb1480774
Author: Ole Streicher <olebole at debian.org>
Date:   Sat Mar 19 14:55:40 2016 +0100

    Fix release dependent package url

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index 2ea73ff..8e1f233 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -1501,7 +1501,7 @@ class TaskDependencies:
                     for rel, ver, arch in zip(row['releases'], row['versions'],
                                               row['architectures']):
                         dep.properties['version'].append({
-                            'url': 'https://packages.debian.org/{0}/${1}'.format(rel, dep.pkg),
+                            'url': 'https://packages.debian.org/{0}/{1}'.format(rel, dep.pkg),
                             'release': rel,
                             'version': ver,
                             'archs': arch
diff --git a/webtools/blendstasktools_udd.py b/webtools/blendstasktools_udd.py
index ba457a3..265cfa7 100644
--- a/webtools/blendstasktools_udd.py
+++ b/webtools/blendstasktools_udd.py
@@ -1125,7 +1125,7 @@ class TaskDependencies:
                                                  row['architectures']),
                                              key=lambda x: release_order[x[0]]):
                     dep.properties['version'].append({
-                        'url': 'https://packages.debian.org/{0}/${1}'.format(rel, dep.pkg),
+                        'url': 'https://packages.debian.org/{0}/{1}'.format(rel, dep.pkg),
                         'release': rel,
                         'version': ver,
                         'archs': arch

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list