changeset 3eba7baa9f05 in trydevpi.tryton.org:default
details: 
https://hg.tryton.org/trydevpi.tryton.org?cmd=changeset;node=3eba7baa9f05
description:
        Remove invalid local version

        The tox templating may generate a local version like '.' which is not 
valid
        for setuptools. This is because "setup.py test" does not have the CI
        environment variables.
diffstat:

 trydevpi.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 3d174f4397b4 -r 3eba7baa9f05 trydevpi.py
--- a/trydevpi.py       Thu Dec 10 22:47:14 2020 +0100
+++ b/trydevpi.py       Thu Dec 10 23:38:45 2020 +0100
@@ -119,6 +119,8 @@
 def index(branch=None):
     mirror = request.args.get('mirror')
     local_version = request.args.get('local_version')
+    if local_version == '.':
+        local_version = None
     return render_template(
         'index.html', urls=get_urls(branch, mirror, local_version))
 

Reply via email to