Skip to content
Snippets Groups Projects
Commit a1005557 authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Fix more strict struct string api for py2

parent 31ad171a
No related branches found
No related tags found
No related merge requests found
...@@ -250,7 +250,7 @@ class appendn(Object): ...@@ -250,7 +250,7 @@ class appendn(Object):
_INotifyTuple = namedtuple("_INotifyTuple", ("mask", "path", "what", "handle", "args", "kwargs")) _INotifyTuple = namedtuple("_INotifyTuple", ("mask", "path", "what", "handle", "args", "kwargs"))
_INOTIFY_HEADER = "iIII" _INOTIFY_HEADER = str("iIII")
_INOTIFY_HEADER_LEN = struct.calcsize(_INOTIFY_HEADER) _INOTIFY_HEADER_LEN = struct.calcsize(_INOTIFY_HEADER)
class INotify(object): class INotify(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment