Attention ! Gitlab fournissant maintenant nativement des certificats Let’s Encrypt aux domaines personnalisés des Gitlab Pages, nous avons coupé notre service qui le faisait automatiquement pour vous.

Il est impératif, pour que votre domaine personnalisé continue à avoir un certificat Let’s Encrypt à jour, d’activer la fonctionnalité native dans les paramètres de votre projet. Cette activation remplacera votre certificat actuel par un nouveau certificat Let’s Encrypt géré par Gitlab.

Voir les détails sur https://docs.framasoft.org/fr/gitlab/gitlab-pages-le.html

Commit 79bc2869 authored by Tankypon's avatar Tankypon

Correct all errors return by pep8 (almost 100)

parent 8f48e54e
This diff is collapsed.
......@@ -24,7 +24,7 @@ def update_pot():
'--output', '{}/{}.pot'.format(podir, i18n_domain)]
for path, names, filenames in os.walk(os.curdir):
for f in filenames:
if f.endswith('.py') :
if f.endswith('.py'):
cmd.append(os.path.join(path, f))
subprocess.call(cmd)
......
......@@ -194,42 +194,44 @@ def setup_logging(verbose):
else:
level_ = logging.WARNING
logging.basicConfig(filename=logfile, format='%(asctime)s %(module)s:%(funcName)s:%(message)s', datefmt='%H:%M:%S', level=level_)
logging.basicConfig(filename=logfile,
format='%(asctime)s %(module)s:%(funcName)s:%(message)s',
datefmt='%H:%M:%S',
level=level_)
logging.info("Logging level set to {}".format(logging.getLevelName(logging.root.getEffectiveLevel())))
# dictionnary containing every string to translate in templates
tpl_msg = { 'tpl_back_to_main' : _('Back to main page'), \
'tpl_movie_or_serie' : _('Movie or serie title'), \
'tpl_best_dvd' : _("Best DVD's"), \
'tpl_popular_series' : _('Popular series'),\
'tpl_configuration' : _("Configuration"), \
'tpl_incache' : _("in cache"), \
'tpl_remove_all_t' : _("Remove all finished torrents"), \
'tpl_show_play_link' : _("Show play link at"), \
'tpl_upload_limit' : _("Set upload limit in kB (-1 is no limit):"), \
'tpl_download_limit' : _("Set download limit in kB (-1 is no limit):"), \
'tpl_apply' : _("Apply changes"), \
'tpl_config_restart' : _("Don't Panic must be restarted for some options to apply"), \
'tpl_footer_bg' : _("Background image"), \
'tpl_footer_your' : _("Your page"), \
'tpl_admin' : _("Administration"), \
'tpl_stopdp' : _("Stop Don't Panic"), \
'tpl_yourpage' : _("This is your page"), \
'tpl_unsubscribe' : _("Log out"), \
'tpl_logout' : _("Unsubscribe"), \
'tpl_watchlist' : _("Watchlist"), \
'tpl_movies' : _("Movies"), \
'tpl_series' : _("Series"), \
'tpl_schres' : _("Search Results"), \
'tpl_see_also' : _("See also"), \
'tpl_director' : _("Director: "), \
'tpl_writer' : _("Writers: "), \
'tpl_actors' : _("Actors: "), \
'tpl_extrawords' : _("Subtitle (or any extra words):"), \
'tpl_searchon' : _("Search on:"), \
'tpl_watchnow' : _("Watch now"), \
}
tpl_msg = {'tpl_back_to_main': _('Back to main page'),
'tpl_movie_or_serie': _('Movie or serie title'),
'tpl_best_dvd': _("Best DVD's"),
'tpl_popular_series': _('Popular series'),
'tpl_configuration': _("Configuration"),
'tpl_incache': _("in cache"),
'tpl_remove_all_t': _("Remove all finished torrents"),
'tpl_show_play_link': _("Show play link at"),
'tpl_upload_limit': _("Set upload limit in kB (-1 is no limit):"),
'tpl_download_limit': _("Set download limit in kB (-1 is no limit):"),
'tpl_apply': _("Apply changes"),
'tpl_config_restart': _("Don't Panic must be restarted for some options to apply"),
'tpl_footer_bg': _("Background image"),
'tpl_footer_your': _("Your page"),
'tpl_admin': _("Administration"),
'tpl_stopdp': _("Stop Don't Panic"),
'tpl_yourpage': _("This is your page"),
'tpl_unsubscribe': _("Log out"),
'tpl_logout': _("Unsubscribe"),
'tpl_watchlist': _("Watchlist"),
'tpl_movies': _("Movies"),
'tpl_series': _("Series"),
'tpl_schres': _("Search Results"),
'tpl_see_also': _("See also"),
'tpl_director': _("Director: "),
'tpl_writer': _("Writers: "),
'tpl_actors': _("Actors: "),
'tpl_extrawords': _("Subtitle (or any extra words):"),
'tpl_searchon': _("Search on:"),
'tpl_watchnow': _("Watch now")
}
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
  • Maintainer

    Mon pauvre, tu t'es tapé tout ça à revérifier :s

  • J'étais dans le bain alors tant qu'à y être ;)

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment