maltrail/core/compat.py
2026-01-03 00:10:15 +01:00

14 lines
250 B
Python

#!/usr/bin/env python
"""
Copyright (c) 2014-2026 Maltrail developers (https://github.com/stamparm/maltrail/)
See the file 'LICENSE' for copying permission
"""
import sys
if sys.version_info >= (3, 0):
xrange = range
else:
xrange = xrange