changeset 816b9164a43b in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=816b9164a43b
description:
        Break long URLs
diffstat:

 app.py |  20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 52fd59c5787c -r 816b9164a43b app.py
--- a/app.py    Fri Jul 05 00:21:10 2019 +0200
+++ b/app.py    Sat Jul 06 12:17:34 2019 +0200
@@ -22,11 +22,21 @@
 from lxml import objectify, html
 
 NEWS_URL = 'https://discuss.tryton.org/c/news'
-CALENDAR_URL = 
'https://calendar.google.com/calendar/embed?src=p4jhgp9j5a2ehndebdglo6tslg%40group.calendar.google.com&ctz=Europe%2FBrussels'
-CALENDAR_ICS = 
'https://calendar.google.com/calendar/ical/p4jhgp9j5a2ehndebdglo6tslg%40group.calendar.google.com/public/basic.ics'
-SUPPORTERS_URL = 
'https://foundation.tryton.org:9000/foundation/foundation/1/supporters'
-DONATORS_URL = 
'https://foundation.tryton.org:9000/foundation/foundation/1/donators?account=732&account=734'
-DONATIONS_URL = 
'https://foundation.tryton.org:9000/foundation/foundation/1/donations?account=732&account=734'
+CALENDAR_URL = (
+    'https://calendar.google.com/calendar/embed'
+    '?src=p4jhgp9j5a2ehndebdglo6tslg%40group.calendar.google.com'
+    '&ctz=Europe%2FBrussels')
+CALENDAR_ICS = (
+    'https://calendar.google.com/calendar/ical'
+    '/p4jhgp9j5a2ehndebdglo6tslg%40group.calendar.google.com/public/basic.ics')
+SUPPORTERS_URL = (
+    'https://foundation.tryton.org:9000/foundation/foundation/1/supporters')
+DONATORS_URL = (
+    'https://foundation.tryton.org:9000/foundation/foundation/1/donators'
+    '?account=732&account=734')
+DONATIONS_URL = (
+    'https://foundation.tryton.org:9000/foundation/foundation/1/donations'
+    '?account=732&account=734')
 
 PROVIDERS = [
     ('Adiczion', [(43.52153, 5.43150)]),

Reply via email to