Skip to content

Commit

Permalink
PEP8 warnings fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Oct 11, 2016
1 parent bbc87f1 commit 75d8488
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions modoboa_webmail/lib/imapheader.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import email

import chardet
from django.conf import settings

from django.utils import timezone
from django.utils.formats import date_format
Expand Down Expand Up @@ -104,6 +103,7 @@ def parse_reply_to(value, **kwargs):
"""
return parse_address_list(value, **kwargs)


def parse_date(value, **kwargs):
"""Parse a Date: header."""
tmp = email.utils.parsedate_tz(value)
Expand All @@ -119,7 +119,6 @@ def parse_date(value, **kwargs):
return date_format(ndate, DATETIME_FORMATS[current_language]['SHORT'])



def parse_message_id(value, **kwargs):
"""Parse a Message-ID: header."""
return value.strip('\n')
Expand Down
9 changes: 5 additions & 4 deletions modoboa_webmail/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Antoine Nguyen <tonio@ngyn.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Modoboa\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-05 18:15+0200\n"
"PO-Revision-Date: 2015-06-04 19:19+0000\n"
"PO-Revision-Date: 2016-10-11 09:24+0000\n"
"Last-Translator: Antoine Nguyen <tonio@ngyn.org>\n"
"Language-Team: French (http://www.transifex.com/tonio/modoboa/language/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: app_settings.py:12
Expand Down Expand Up @@ -256,7 +257,7 @@ msgstr "Messages envoyés"

#: lib/imaputils.py:551
msgid "Trash"
msgstr "Poubelle"
msgstr "Corbeille"

#: modo_extension.py:16
msgid "Simple IMAP webmail"
Expand Down

0 comments on commit 75d8488

Please sign in to comment.