Rodolfo García Peñas (kix)
b24687fcd6
Gmail.py Get the server response right
...
Now, the server response is in a list of strings. We need the second
string, so we need read the [1].
Previously, was a list of tuples, so, we used [0][1].
This patch is like the patch IMAP.py Get the server response right, but
now for Gmail.
Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2020-09-03 21:35:51 +02:00
Rodolfo García Peñas (kix)
6f622c7b27
repository/IMAP.py getselectors updated
...
In the patch "IMAP list folders" we updated the function getselectors
to return '""'. We use this variable in the folders, but also here.
Because the variable is never '', we need update it with this change, to
test that the variable has value, but is not empty.
Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2020-09-03 21:35:49 +02:00
Rodolfo García Peñas (kix)
8e63f58b22
folder/IMAP.py matching uids is a list
...
matchinguids variable is a list of UIDs, separated by spaces. You can
check it some lines later, using the split command.
We need decode the bytes value returned by imaplib2 and convert it to
sting.
Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2020-09-03 21:35:48 +02:00
Rodolfo García Peñas (kix)
41c2ced1d5
IMAP.py _msgs_to_fetch decode bytes
...
imaplib2 returns the type as string, like "OK" but
returns imapdata as list of bytes, like [b'0'] so we need decode it
to use the existing code
2020-09-01 19:07:52 +02:00
Rodolfo García Peñas (kix)
caaa953616
IMAP.py list folders
...
This patch changes the refernce to "", because now the empty string
is not saved as '""', is just '', so the fecth command fails.
Then, I changed the fech call to "" "*", using refernce "" and pattern
"*".
2020-09-01 18:21:27 +02:00
Rodolfo García Peñas (kix)
7947aea7a9
imapserver call LIST using empty quotes
...
The LIST command needs empty quotes, like
LIST ""
This is the right argument.
2020-09-01 18:21:27 +02:00
Rodolfo García Peñas (kix)
1ff54e7a7c
IMAP.py Get the server response right
...
Now, the server response is in a list of strings. We need the second
string, so we need read the [1].
Previously, was a list of tuples, so, we used [0][1].
2020-09-01 18:21:27 +02:00
Rodolfo García Peñas (kix)
ea8c0c6f3e
__generate_randomheader uses now string
...
This patch converts the string to bytes to use crc32.
We can remore the fffffff because in python3 is always positive value.
In other patch.
2020-09-01 17:40:12 +02:00
Rodolfo García Peñas (kix)
7980f7ff1a
IMAP.py calls Internaldate2epoch with bytes argument
...
The function Internaldate2epoch needs a bytes argument,
not an string, we need encode it:
imaplibutil.Internaldate2epoch(messagestr.encode('utf-8'))
2020-09-01 17:40:12 +02:00
Rodolfo García Peñas (kix)
b6cec81090
imalplibutil calls strptime with string
...
datetime.datetime.strptime wants a string object,
but we have a bytes object. We need decode it.
2020-08-31 18:12:29 +02:00
Rodolfo García Peñas (kix)
d011702b5b
removed virtual_imaplib2
...
Now we use the system imaplib2. I am using Debian.
2020-08-31 16:24:26 +02:00
Rodolfo García Peñas (kix)
4d293c8eea
threadutil.py removed extra parenthesys
...
These characters could be removed.
2020-08-30 18:54:52 +02:00
Rodolfo García Peñas (kix)
16f46c81cd
threadutil.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 18:54:01 +02:00
Rodolfo García Peñas (kix)
239b921056
mbnames.py removed extra parenthesys
...
These characters could be removed.
2020-08-30 18:53:02 +02:00
Rodolfo García Peñas (kix)
36ab6066e8
localeval.py removed extra parenthesys
...
These characters could be removed.
2020-08-30 18:52:56 +02:00
Rodolfo García Peñas (kix)
64cb6c45ec
init.py removed unused variable
...
This variable is not used later.
2020-08-30 18:50:58 +02:00
Rodolfo García Peñas (kix)
fff1687e43
init.py warn is deprecated, using warning
...
loggin.warn is changed to loggin.warning
2020-08-30 18:49:50 +02:00
Rodolfo García Peñas (kix)
8b6562b471
init.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 18:47:24 +02:00
Rodolfo García Peñas (kix)
3de236b4a1
init.py removed extra characters
...
these characters could be removed
2020-08-30 18:46:08 +02:00
Rodolfo García Peñas (kix)
e3df3d4691
imaputil.py split the if
...
This patch splits the if to avoid multiple commands in the same line.
2020-08-30 18:43:22 +02:00
Rodolfo García Peñas (kix)
abdaabb866
imaputil.py removed extra characters
...
these characters could be removed
2020-08-30 18:43:18 +02:00
Rodolfo García Peñas (kix)
54fbfc67b4
imapserver.py updated docstring
...
Added argument.
2020-08-30 18:37:09 +02:00
Rodolfo García Peñas (kix)
b118b80897
imapserver.py Removed unused variables
...
These variables are not used.
2020-08-30 18:35:01 +02:00
Rodolfo García Peñas (kix)
b860e93072
imapserver.py removed unreacheable code
...
This code is not reacheable.
2020-08-30 18:32:42 +02:00
Rodolfo García Peñas (kix)
26668d29b0
imapserver.py removed extra characters
...
these characters could be removed.
2020-08-30 18:31:30 +02:00
Rodolfo García Peñas (kix)
e463da6c19
imaplibutil.py do not use builtin names as variables
...
I changed these names:
hash to my_hash
min to minu
2020-08-30 18:27:40 +02:00
Rodolfo García Peñas (kix)
d02b0a5c3e
imaplibutil.py removed extra characters
...
I removed these characters.
2020-08-30 18:23:29 +02:00
Rodolfo García Peñas (kix)
222cd235d6
emailutil.py updated docstrings
...
Argument added.
2020-08-30 18:21:00 +02:00
Rodolfo García Peñas (kix)
2c0858f19b
CustomConfig.py Removed extra characters
...
I removed these extra characters.
2020-08-30 18:20:07 +02:00
Rodolfo García Peñas (kix)
df28136bb3
accounts.py Removed extra spaces after equal
...
I changed the intentation to join the equal with the quote.
2020-08-30 18:19:05 +02:00
Rodolfo García Peñas (kix)
142041130d
utils/const.py Removed extra characters
...
These characters could be removed.
2020-08-30 18:14:15 +02:00
Rodolfo García Peñas (kix)
fefe69c0e9
ui/UIBase.py do not use builtin object as variable
...
Renamed from object to mobject.
2020-08-30 18:12:17 +02:00
Rodolfo García Peñas (kix)
d5ab101cf4
ui/UIBase.py do not use builtin type as variable
...
Renamed from type to rtype.
2020-08-30 18:10:51 +02:00
Rodolfo García Peñas (kix)
833816cf62
ui/UIBase.py split the if
...
This patch splits the if to avoid multiple commands in the same line.
2020-08-30 18:09:32 +02:00
Rodolfo García Peñas (kix)
b1a719ad9e
ui/UIBase.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 18:07:59 +02:00
Rodolfo García Peñas (kix)
5ad87efb84
ui/UIBase.py removed extra characters
...
These chars could be removed.
2020-08-30 18:06:14 +02:00
Rodolfo García Peñas (kix)
d4f9d101c4
ui/Machine.py Removed extra parenthesys
...
This parsys should be removed.
2020-08-30 18:00:49 +02:00
Rodolfo García Peñas (kix)
f78c8e1ef4
ui/Machine.py Renamed list argument
...
The list is a standard word for list. This variable should have other
name.
2020-08-30 17:58:53 +02:00
Rodolfo García Peñas (kix)
edb6563a11
ui/Machine.py changed argument s to self
...
The standard name is self, not s.
I reformat the file after this change.
2020-08-30 17:57:46 +02:00
Rodolfo García Peñas (kix)
7634ce10d1
ui/debuglock.py Removed extra backslashes
...
These backslashes could be removed.
2020-08-30 17:47:18 +02:00
Rodolfo García Peñas (kix)
cfce5c8500
BUG: Do not sort accounts
...
Is not possible to sort acounts on this way. We need make the comparison
using their names, not their keys.
2020-08-30 17:42:52 +02:00
Rodolfo García Peñas (kix)
6bf45233bb
ui/Curses.py avoid multiple statements in one line
2020-08-30 15:59:21 +02:00
Rodolfo García Peñas (kix)
5ebbba2995
ui/Curses.py updated docstring
...
This patch includes a param in docstring.
2020-08-30 15:56:49 +02:00
Rodolfo García Peñas (kix)
10c37cf7a4
ui/Curses.py unused variable
...
This variable is not used.
2020-08-30 15:54:20 +02:00
Rodolfo García Peñas (kix)
a69ef4325a
ui/Curses.py removed extra characters
...
These characters could be removed.
2020-08-30 15:50:01 +02:00
Rodolfo García Peñas (kix)
ccbe42fb64
repository/Maildir.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 14:25:55 +02:00
Rodolfo García Peñas (kix)
9779d5444a
repository/IMAP.py Removed initialitation
...
We don't need initialite this variable here.
2020-08-30 14:21:04 +02:00
Rodolfo García Peñas (kix)
78b010d149
repository/IMAP.py Removed extra characters
...
These characters can be removed.
2020-08-30 14:19:34 +02:00
Rodolfo García Peñas (kix)
75f979d45b
repository/Gmail.py Unused argument
...
I removed this argument. The function is not used.
2020-08-30 14:17:10 +02:00
Rodolfo García Peñas (kix)
3aba335109
repository/Base.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 14:15:49 +02:00
Rodolfo García Peñas (kix)
ad0920de72
repository/Base.py Changed indentation
...
I joined the lines to avoid indentantion warning
2020-08-30 14:14:45 +02:00
Rodolfo García Peñas (kix)
2248a85f64
repository/__init__.py Removed unused variable
...
This variable is not used.
2020-08-30 14:13:27 +02:00
Rodolfo García Peñas (kix)
e496525b8b
repository/__init__.py Removed extra chars
...
These parenthesis are not needed.
2020-08-30 14:12:35 +02:00
Rodolfo García Peñas (kix)
28470ae655
folder/UIDMaps.py Removed extra chars
...
These chars can be removed.
2020-08-30 14:10:53 +02:00
Rodolfo García Peñas (kix)
db1ee5b3e9
folder/UIDMaps.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 14:04:43 +02:00
Rodolfo García Peñas (kix)
4442a7ce67
folder/UIDMaps.py import fcntl
...
First, this file calls fcntl, but it has a typo.
Then, I import the fcntl library, as done in offlineimap/accounts.py
using portalocker first.
2020-08-30 14:01:51 +02:00
Rodolfo García Peñas (kix)
e4cb1a93be
Removed unused variables
...
These variables are not used
2020-08-30 13:55:30 +02:00
Rodolfo García Peñas (kix)
8cbdc65ebf
folder/UIDMaps.py split the if
...
This patch splits the if to avoid multiple commands in the same line.
2020-08-30 13:53:57 +02:00
Rodolfo García Peñas (kix)
c68e70519d
folder/Maildir.py split the if
...
This patch splits the if to avoid multiple commands in the same line.
2020-08-30 13:51:34 +02:00
Rodolfo García Peñas (kix)
1bcd7d3d4d
folder/Maildir.py Removed unused variables
...
These variables are not used.
2020-08-30 13:51:34 +02:00
Rodolfo García Peñas (kix)
91df77f69f
folder/Maildir.py Updated docstrings
2020-08-30 13:51:29 +02:00
Rodolfo García Peñas (kix)
3d2692103f
folder/Maildir.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 13:42:09 +02:00
Rodolfo García Peñas (kix)
28910df6c2
folder/Maildir.py removed extra chars
...
I removed some extra ()
2020-08-30 13:40:14 +02:00
Rodolfo García Peñas (kix)
a1f907696f
folder/LocalStatusSQLite.py split the if
...
This patch splits the if to avoid multiple commands in the same line.
2020-08-30 13:37:28 +02:00
Rodolfo García Peñas (kix)
8742ff4311
folder/LocalStatusSQLite.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 13:36:40 +02:00
Rodolfo García Peñas (kix)
6059cf13ba
folder/LocalStatusSQLite.py Removed extra chars
...
This patch removes the (). Are not needed.
2020-08-30 13:35:14 +02:00
Rodolfo García Peñas (kix)
5005de021d
folder/LocalStatus.py split the if
...
This patch splits the if to avoid multiple commands in the same line.
2020-08-30 13:34:05 +02:00
Rodolfo García Peñas (kix)
b257cdca04
folder/LocalStatus.py Removed unused variables
...
These variables are not used.
2020-08-30 13:32:36 +02:00
Rodolfo García Peñas (kix)
dc8872377c
folder/IMAP.py Removed unused variables
...
These variables are not used.
2020-08-30 13:30:39 +02:00
Rodolfo García Peñas (kix)
c3fe45ff2b
folder/IMAP.py added docstrings arguments
2020-08-30 13:28:36 +02:00
Rodolfo García Peñas (kix)
88230bda47
folder/IMAP.py removed extra chars
...
This patch removes some backslash and (, )
2020-08-30 13:26:20 +02:00
Rodolfo García Peñas (kix)
9d93a6de8f
folder/GmailMaildir.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 13:23:07 +02:00
Rodolfo García Peñas (kix)
4facfacc48
folder/Gmail.py changed not var in
...
This patch changes not var in with var not in
2020-08-30 13:20:17 +02:00
Rodolfo García Peñas (kix)
e3533e7fa9
folder/Gmail.py Removed extra backslash
...
This backslash could be removed.
2020-08-30 13:19:27 +02:00
Rodolfo García Peñas (kix)
6be58c297d
folder/Gmail.py added docstrings
...
This patch adds the docstrings
2020-08-30 13:18:18 +02:00
Rodolfo García Peñas (kix)
2ff748ac0e
folder/Base.py Added docstrings params
...
This patch only adds some docstrings params.
2020-08-30 13:05:32 +02:00
Rodolfo García Peñas (kix)
1fc10875a6
folder/Base.py changed not var in
...
This patch changes:
if not var1 in var2
with
if var1 not in var2
2020-08-30 12:42:28 +02:00
Rodolfo García Peñas (kix)
56299086e2
folder/Base.py Removed extra parenthesis
...
This patch removes these extra characteres.
2020-08-30 12:40:28 +02:00
Rodolfo García Peñas (kix)
1a529b6b0e
offlineimap/ files singleton-comparison
...
This patch change these errors in the offlineimap folder
C0121: Comparison to None should be 'expr is None' (singleton-comparison)
C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
2020-08-30 11:27:03 +02:00
Rodolfo García Peñas (kix)
da2baaaeb7
offlineimap/utils files singleton-comparison
...
This patch change these errors in the utils folder
C0121: Comparison to None should be 'expr is None' (singleton-comparison)
C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
2020-08-30 11:18:18 +02:00
Rodolfo García Peñas (kix)
7b082f0fe9
offlineimap/folder files singleton-comparison
...
This patch change these errors in the 'folder' folder
C0121: Comparison to None should be 'expr is None' (singleton-comparison)
C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
2020-08-30 11:15:00 +02:00
Rodolfo García Peñas (kix)
229aa59dba
offlineimap/ui files singleton-comparison
...
This patch change these errors in the ui folder
C0121: Comparison to None should be 'expr is None' (singleton-comparison)
C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
2020-08-30 11:07:59 +02:00
Rodolfo García Peñas (kix)
30afe4645e
offlineimap/repository files singleton-comparison
...
This patch change these errors in the repository folder
C0121: Comparison to None should be 'expr is None' (singleton-comparison)
C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
2020-08-30 11:03:57 +02:00
Rodolfo García Peñas (kix)
a186f65444
Maildir removed extra slash
...
This slash should be removed. I also join the lines.
2020-08-30 10:57:42 +02:00
Rodolfo García Peñas (kix)
c64275d27d
bundled_imaplib2.py Do not make object inheritance
...
This patch removes these lintian warnings:
Warning R0205: Class 'X' inherits from object,
can be safely removed from bases in python3 (useless-object-inheritance)
2020-08-30 10:48:53 +02:00
Rodolfo García Peñas (kix)
3fafc3a46d
Reformat offlineimap/bundled_imaplib2.py
...
Add/remove whitespaces, lines,...
2020-08-30 10:47:34 +02:00
Rodolfo García Peñas (kix)
e77440552c
Do not make object inheritance
...
This patch removes these lintian warnings:
Warning R0205: Class 'X' inherits from object,
can be safely removed from bases in python3 (useless-object-inheritance)
2020-08-29 21:44:18 +02:00
Rodolfo García Peñas (kix)
ddfc2a766c
Removed Py3 try except in mbnames.py
...
Same code in try and except.
2020-08-29 21:29:06 +02:00
Rodolfo García Peñas (kix)
bf08bb314d
Removed not used imports
...
This patch removes the import lines not used
2020-08-29 21:20:31 +02:00
Rodolfo García Peñas (kix)
7d62441dc2
Changed import order
...
These changes close the lintian warning C0411.
2020-08-29 21:10:16 +02:00
Rodolfo García Peñas (kix)
b94983ee8a
Removed extra line in offlineimap/folder/__init__.py
...
Removed extra line at EOF.
2020-08-29 20:41:27 +02:00
Rodolfo García Peñas (kix)
74ae944b06
Reformat offlineimap/threadutil.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:22:53 +02:00
Rodolfo García Peñas (kix)
973e3324ff
Reformat offlineimap/mbnames.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:22:14 +02:00
Rodolfo García Peñas (kix)
9c865afbf0
Reformat offlineimap/localeval.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:21:45 +02:00
Rodolfo García Peñas (kix)
0e477ca9cc
Reformat offlineimap/init.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:21:07 +02:00
Rodolfo García Peñas (kix)
2969f36663
Reformat offlineimap/imaputil.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:19:54 +02:00
Rodolfo García Peñas (kix)
b6a686e56f
Reformat offlineimap/imapserver.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:19:23 +02:00
Rodolfo García Peñas (kix)
20a9837e26
Reformat offlineimap/imaplibutil.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:17:18 +02:00
Rodolfo García Peñas (kix)
ba9a3ce819
Reformat offlineimap/globals.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:16:35 +02:00
Rodolfo García Peñas (kix)
ceec91e0e6
Reformat offlineimap/error.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:15:55 +02:00
Rodolfo García Peñas (kix)
efcfd6b919
Reformat offlineimap/emailutil.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:15:20 +02:00
Rodolfo García Peñas (kix)
8b35dbabe1
Reformat offlineimap/CustomConfig.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:06:32 +02:00
Rodolfo García Peñas (kix)
9f15c05520
Reformat offlineimap/accounts.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:05:18 +02:00
Rodolfo García Peñas (kix)
58596767ef
Reformat offlineimap/__init__.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:04:40 +02:00
Rodolfo García Peñas (kix)
c1d180543f
Reformat offlineimap/utils/stacktrace.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:03:24 +02:00
Rodolfo García Peñas (kix)
5a81eccb49
Reformat offlineimap/utils/distro.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:01:52 +02:00
Rodolfo García Peñas (kix)
5d482a67ff
Reformat offlineimap/utils/const.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 20:00:02 +02:00
Rodolfo García Peñas (kix)
ee236ec987
Reformat offlineimap/ui/UIBase.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:59:05 +02:00
Rodolfo García Peñas (kix)
6e0647de1a
Reformat offlineimap/ui/TTY.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:58:32 +02:00
Rodolfo García Peñas (kix)
8bae38ed93
Reformat offlineimap/ui/noninteractive.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:57:49 +02:00
Rodolfo García Peñas (kix)
d31c5891ba
Reformat offlineimap/ui/Machine.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:56:37 +02:00
Rodolfo García Peñas (kix)
9aa2344fd4
Reformat offlineimap/ui/debuglock.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:55:52 +02:00
Rodolfo García Peñas (kix)
1b385dfafb
Reformat offlineimap/ui/Curses.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:55:07 +02:00
Rodolfo García Peñas (kix)
1df1a39b11
Reformat offlineimap/folder/Maildir.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:53:38 +02:00
Rodolfo García Peñas (kix)
8ed3d1ca9a
Reformat offlineimap/folder/LocalStatus.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:52:56 +02:00
Rodolfo García Peñas (kix)
80ee751243
Reformat offlineimap/folder/IMAP.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:51:25 +02:00
Rodolfo García Peñas (kix)
3d1360a7e3
Reformat offlineimap/folder/GmailMaildir.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:50:46 +02:00
Rodolfo García Peñas (kix)
7be7a70d85
Reformat offlineimap/repository/Base.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:49:37 +02:00
Rodolfo García Peñas (kix)
b64430e035
Reformat offlineimap/repository/__init__.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:48:41 +02:00
Rodolfo García Peñas (kix)
3a1b25c204
Reformat offlineimap/folder/UIDMaps.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:48:04 +02:00
Rodolfo García Peñas (kix)
eafd9eb51d
Reformat offlineimap/folder/Maildir.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:46:43 +02:00
Rodolfo García Peñas (kix)
265de25460
Reformat offlineimap/folder/LocalStatusSQLite.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:45:15 +02:00
Rodolfo García Peñas (kix)
cb95bc87b0
Reformat offlineimap/folder/LocalStatus.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:43:52 +02:00
Rodolfo García Peñas (kix)
da1788db53
Reformat offlineimap/folder/IMAP.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:43:09 +02:00
Rodolfo García Peñas (kix)
2f97dda6d9
Reformat offlineimap/folder/GmailMaildir.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:42:20 +02:00
Rodolfo García Peñas (kix)
af18230a2a
Reformat offlineimap/folder/Gmail.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:41:19 +02:00
Rodolfo García Peñas (kix)
9ebdbe47ee
Reformat offlineimap/folder/Base.py
...
Add some spaces, remove lines,... now format is better (lintian).
2020-08-29 19:39:31 +02:00
Rodolfo García Peñas (kix)
18d2e972ac
Mail now is typle of bytes convert to str
...
This patch saves the tuple and discard the bytes/str (now bytes).
Then, convert the tuple elements to str (from bytes).
2020-08-29 19:00:28 +02:00
Rodolfo García Peñas (kix)
a88a9cf28e
ui init is lintian clean
...
This patch only adds an space between the hash and the first character.
2020-08-29 09:51:31 +02:00
Rodolfo García Peñas (kix)
7ba9ca1cca
Maildir set is a builtin in python3
...
set() is a builtin, it is already included.
2020-08-29 09:22:23 +02:00
Rodolfo García Peñas (kix)
99f85737c5
Removed python2 code in imaputil
...
This code is marked as python2, could be removed.
2020-08-29 09:07:15 +02:00
Rodolfo García Peñas (kix)
a655fa4fc2
threadutil imports not used
...
These imports are not used.
2020-08-29 09:04:07 +02:00
Rodolfo García Peñas (kix)
aebd530aaf
threadutil imports without try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 09:03:39 +02:00
Rodolfo García Peñas (kix)
ead8b157af
CustonConfig imports withou try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 09:02:16 +02:00
Rodolfo García Peñas (kix)
1618505d3b
Machine imports withou try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 09:00:30 +02:00
Rodolfo García Peñas (kix)
46c677151a
UIBase imports without try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 08:58:53 +02:00
Rodolfo García Peñas (kix)
3711954908
Folder name is already utf8
...
We don't need decode it.
2020-08-28 20:31:00 +02:00
Rodolfo García Peñas (kix)
36bfbdf7d6
Get the month number
...
This patch gets the month number using datetime library.
I removed the function Mon2num. The list is not used now, it is removed
too.
I need change the regex in the compile to get the fields. Now is str,
not binary, so I remored the 'b'.
2020-08-28 20:05:52 +02:00
Rodolfo García Peñas (kix)
e61e77cf40
Convert bytes to string in IMAP folder
...
Convert the IMAP reply to string.
2020-08-28 17:25:06 +02:00
Rodolfo García Peñas (kix)
1379c32c5a
IMAP do not use single quotes on fetch
...
The IMAP command is:
C: A654 FETCH 2:4 (FLAGS BODY[HEADER.FIELDS (DATE FROM)])
not
C: A654 FETCH '2:4' (FLAGS BODY[HEADER.FIELDS (DATE FROM)])
The single quotes must be removed.
2020-08-28 17:18:29 +02:00
Rodolfo García Peñas (kix)
bb5b1f2dcf
Encode folder name before md5
...
Avoid the error:
Unicode-objects must be encoded before hashing
2020-08-28 16:51:11 +02:00
Rodolfo García Peñas (kix)
22dfbd7a54
Split the IMAP folders
...
This patch modifies two files. First, we need split using '', not '""'.
Else we don't split anything.
OTOH, we need convert the bytes to string, then we can parse the folder
names.
2020-08-28 16:35:00 +02:00
Rodolfo García Peñas (kix)
c9a4b1fefa
Add quotes in empty LIST calls
...
I need add this to get the imap LIST folders.
2020-08-28 16:03:15 +02:00
Rodolfo García Peñas (kix)
6fa099ff74
bundled_imaplib2 encode removed cr
...
This patch removes the cr in the encoding call. It avoids a crash.
2020-08-28 13:37:09 +02:00
Rodolfo García Peñas (kix)
6378c722b0
Do not use binary in the plain auth
...
Changed from binary to string in plain auth.
2020-08-28 13:06:31 +02:00
Rodolfo García Peñas (kix)
e84e932df4
Changed wrong comparison equal
2020-08-28 12:49:03 +02:00
Rodolfo García Peñas (kix)
5e356b0bf5
Removed codecs
...
I removed these calls to codecs because I got the error:
ValueError: can't have text and binary mode at once
2020-08-28 12:38:15 +02:00
Rodolfo García Peñas (kix)
476c485a52
Using standard imaplib2.py
...
This is the standard imaplib2 file.
2020-08-28 11:48:16 +02:00
Rodolfo García Peñas (kix)
75ce6e71f3
Comparison error
2020-08-28 03:33:49 +02:00
Rodolfo García Peñas (kix)
6ec6111896
2to3 main
2020-08-28 03:32:43 +02:00