Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
email
Commits
8cbfcbc0d921
Commit
91c603da
authored
Feb 12, 2015
by
Aurelien Campeas
Browse files
mboximport: remove dead code
parent
ed3ccabcc3fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
mboximport.py
View file @
8cbfcbc0
...
@@ -181,9 +181,6 @@ class MBOXImporter(object):
...
@@ -181,9 +181,6 @@ class MBOXImporter(object):
encoding
=
u
'ascii'
encoding
=
u
'ascii'
if
isinstance
(
data
,
str
):
if
isinstance
(
data
,
str
):
data
=
unicode
(
data
,
encoding
)
data
=
unicode
(
data
,
encoding
)
self
.
cnx
.
set_shared_data
(
'raw_content_%s_%s'
%
(
emaileid
,
self
.
_part_index
+
1
),
str
(
part
.
message
))
else
:
else
:
encoding
=
None
encoding
=
None
name
=
part
.
get_filename
()
name
=
part
.
get_filename
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment