You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/10/08 15:02:31 UTC
[allura] branch master updated: [#8380] pyflakes fix
This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new bd5d617 [#8380] pyflakes fix
bd5d617 is described below
commit bd5d617aebf046993bb1dda3e3bb16cd04fb9612
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Thu Oct 8 11:02:22 2020 -0400
[#8380] pyflakes fix
---
Allura/allura/lib/project_create_helpers.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Allura/allura/lib/project_create_helpers.py b/Allura/allura/lib/project_create_helpers.py
index fb2a141..a7c8201 100644
--- a/Allura/allura/lib/project_create_helpers.py
+++ b/Allura/allura/lib/project_create_helpers.py
@@ -22,6 +22,10 @@ from io import BytesIO
import datetime
import string
import logging
+try:
+ from typing import Union
+except ImportError: # py2 doesn't have typing yet
+ pass
import colander as col
import bson