projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8754803
)
fix typo
author
Boris Bobrov
<breton@cynicmansion.ru>
Wed, 11 Jul 2018 16:26:23 +0000
(18:26 +0200)
committer
Boris Bobrov
<breton@cynicmansion.ru>
Wed, 11 Jul 2018 16:26:23 +0000
(18:26 +0200)
mediagoblin/tools/validator.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/tools/validator.py
b/mediagoblin/tools/validator.py
index e8031a440a822286d809069bd3d4366953cbe770..26c75d952ac7b5be3a7b9f3e35b600da042d223a 100644
(file)
--- a/
mediagoblin/tools/validator.py
+++ b/
mediagoblin/tools/validator.py
@@
-33,6
+33,6
@@
def validate_url(url):
try:
six.moves.urlparse(url)
return True
- except Except as e:
+ except Except
ion
as e:
return False