mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 10:19:16 +02:00
allow py27 still to pass ... maybe it's getting time drop it?
This commit is contained in:
parent
6af6a195db
commit
4717bdf5b6
1 changed files with 4 additions and 1 deletions
|
@ -18,6 +18,9 @@ class Message(object):
|
||||||
:class:`deltachat.chatting.Chat`.
|
:class:`deltachat.chatting.Chat`.
|
||||||
"""
|
"""
|
||||||
_dc_context = attr.ib(validator=v.instance_of(ffi.CData))
|
_dc_context = attr.ib(validator=v.instance_of(ffi.CData))
|
||||||
|
try:
|
||||||
|
id = attr.ib(validator=v.instance_of((int, long)))
|
||||||
|
except NameError: # py35
|
||||||
id = attr.ib(validator=v.instance_of(int))
|
id = attr.ib(validator=v.instance_of(int))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue