From 9c315118bd8d099e8b8f123dca693b1319c92694 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Mon, 17 Jul 2017 00:44:03 +0400 Subject: [PATCH] Py3 compat --- cowrie/core/fs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cowrie/core/fs.py b/cowrie/core/fs.py index 64b7b4e2..c3d74af1 100644 --- a/cowrie/core/fs.py +++ b/cowrie/core/fs.py @@ -24,14 +24,14 @@ A_NAME, \ A_CTIME, \ A_CONTENTS, \ A_TARGET, \ - A_REALFILE = range(0, 10) + A_REALFILE = list(range(0, 10)) T_LINK, \ T_DIR, \ T_FILE, \ T_BLK, \ T_CHR, \ T_SOCK, \ - T_FIFO = range(0, 7) + T_FIFO = list(range(0, 7)) class TooManyLevels(Exception): """