Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Commit

Permalink
Now python 3 compatible
Browse files Browse the repository at this point in the history
 - patch submitted by Matthew Leingang
 - closes #1

Signed-off-by: Mansour <mansour@oxplot.com>
  • Loading branch information
oxplot committed Mar 15, 2012
1 parent 0a33969 commit f89c588
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fysom.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,12 @@ def printstatechange(e):

import types

try:
unicode = unicode
except NameError:
unicode = str
basestring = (str, bytes)

class FysomError(Exception):
pass

Expand Down

0 comments on commit f89c588

Please sign in to comment.