Skip to content

Commit

Permalink
Merge pull request #26 from bluepeppers/enable_prop_unpacker
Browse files Browse the repository at this point in the history
Enabled the Cython entity unpacker where relevant
  • Loading branch information
onethirtyfive committed Sep 12, 2013
2 parents 9238a6b + 8c818fe commit 9ef389a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skadi/io/unpacker/cEntity.pyx
@@ -1,7 +1,7 @@
from skadi import enum
from skadi.io import unpacker
from skadi.io cimport cBitstream as bs
from skadi.io.unpacker import prop as pu
from skadi.io.unpacker import cProp as pu


PVS = enum(Leaving=1, Entering=2, Deleting=4)
Expand Down
6 changes: 5 additions & 1 deletion skadi/io/unpacker/entity.py
@@ -1,6 +1,10 @@
from skadi import enum
from skadi.io import unpacker
from skadi.io.unpacker import prop as pu

try:
from skadi.io.unpacker import cProp as pu
except ImportError:
from skadi.io.unpacker import prop as pu


PVS = enum(Leaving=1, Entering=2, Deleting=4)
Expand Down

0 comments on commit 9ef389a

Please sign in to comment.