Mercurial > touhou
comparison pytouhou/formats/t6rp.py @ 385:d8aab27a2ab2
Add missing imports, and remove side-effects in asserts.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 20 Oct 2012 20:44:11 +0200 |
parents | 70e2ed71b09c |
children | d1f0bb0b7a17 |
comparison
equal
deleted
inserted
replaced
384:690b5faaa0e6 | 385:d8aab27a2ab2 |
---|---|
23 from struct import unpack, pack | 23 from struct import unpack, pack |
24 from io import BytesIO | 24 from io import BytesIO |
25 from time import strftime | 25 from time import strftime |
26 | 26 |
27 from pytouhou.utils.helpers import read_string, get_logger | 27 from pytouhou.utils.helpers import read_string, get_logger |
28 from pytouhou.formats import ChecksumError | |
28 | 29 |
29 logger = get_logger(__name__) | 30 logger = get_logger(__name__) |
30 | 31 |
31 | 32 |
32 class Level(object): | 33 class Level(object): |