pull/380/head
Ihor Sychevskyi 2022-08-17 00:31:15 +03:00 zatwierdzone przez GitHub
rodzic 6786a09a3e
commit 1af1e2acc1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
7 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -667,9 +667,9 @@ Fixes:
- created sphinx documentation and started documenting development and goals. - created sphinx documentation and started documenting development and goals.
[garbas] [garbas]
- hook out github repository to http://readthedocs.org service so sphinx - hook out github repository to https://readthedocs.org service so sphinx
documentation is generated on each commit (for master). Documentation can be documentation is generated on each commit (for master). Documentation can be
visible on: http://readthedocs.org/docs/icalendar/en/latest/ visible on: https://icalendar.readthedocs.io/en/latest/
[garbas] [garbas]

Wyświetl plik

@ -10,7 +10,7 @@ These are some contribution examples
- Extending the documentation. - Extending the documentation.
- Sponsor a Sprint (http://plone.org/events/sprints/whatis). - Sponsor a Sprint (https://plone.org/events/sprints/whatis).
For pull requests, keep this in mind For pull requests, keep this in mind

Wyświetl plik

@ -111,7 +111,7 @@ cmd = [sys.executable, '-c',
find_links = os.environ.get( find_links = os.environ.get(
'bootstrap-testing-find-links', 'bootstrap-testing-find-links',
options.find_links or options.find_links or
('http://downloads.buildout.org/' ('https://downloads.buildout.org/'
if options.accept_buildout_test_releases else None) if options.accept_buildout_test_releases else None)
) )
if find_links: if find_links:

Wyświetl plik

@ -23,7 +23,7 @@ def data_encode(data, encoding=DEFAULT_ENCODING):
"""Encode all datastructures to the given encoding. """Encode all datastructures to the given encoding.
Currently unicode strings, dicts and lists are supported. Currently unicode strings, dicts and lists are supported.
""" """
# http://stackoverflow.com/questions/1254454/fastest-way-to-convert-a-dicts-keys-values-from-unicode-to-str # https://stackoverflow.com/questions/1254454/fastest-way-to-convert-a-dicts-keys-values-from-unicode-to-str
if isinstance(data, compat.unicode_type): if isinstance(data, compat.unicode_type):
return data.encode(encoding) return data.encode(encoding)
elif isinstance(data, dict): elif isinstance(data, dict):

Wyświetl plik

@ -59,7 +59,7 @@ class IcalendarTestCase (unittest.TestCase):
'123456789 123456789 123456789 123456789 ') '123456789 123456789 123456789 123456789 ')
) )
# http://tools.ietf.org/html/rfc5545#section-3.3.11 # https://tools.ietf.org/html/rfc5545#section-3.3.11
# An intentional formatted text line break MUST only be included in # An intentional formatted text line break MUST only be included in
# a "TEXT" property value by representing the line break with the # a "TEXT" property value by representing the line break with the
# character sequence of BACKSLASH, followed by a LATIN SMALL LETTER # character sequence of BACKSLASH, followed by a LATIN SMALL LETTER

Wyświetl plik

@ -109,7 +109,7 @@ class TestTimezoned(unittest.TestCase):
event.add('attendee', 'franz') event.add('attendee', 'franz')
event.add('attendee', 'sepp') event.add('attendee', 'sepp')
event.add('contact', 'Max Mustermann, 1010 Wien') event.add('contact', 'Max Mustermann, 1010 Wien')
event.add('url', 'http://plone.org') event.add('url', 'https://plone.org')
cal.add_component(event) cal.add_component(event)
test_out = b'|'.join(cal.to_ical().splitlines()) test_out = b'|'.join(cal.to_ical().splitlines())

Wyświetl plik

@ -5,8 +5,8 @@ The data is taken from the unicode consortium [0], the proposal and rationale
for this mapping is also available at the unicode consortium [1]. for this mapping is also available at the unicode consortium [1].
[0] http://www.unicode.org/cldr/charts/29/supplemental/zone_tzid.html [0] https://www.unicode.org/cldr/cldr-aux/charts/29/supplemental/zone_tzid.html
[1] http://cldr.unicode.org/development/development-process/design-proposals/extended-windows-olson-zid-mapping # noqa [1] https://cldr.unicode.org/development/development-process/design-proposals/extended-windows-olson-zid-mapping # noqa
""" """
WINDOWS_TO_OLSON = { WINDOWS_TO_OLSON = {