Skip to content

Commit

Permalink
fixed silly enum import at setup time
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed May 24, 2015
1 parent 7325759 commit 9cfe5ff
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mt940/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,21 @@
n = Numeric
'''
import re
import enum
import logging

try:
import enum
except ImportError:
import sys
print >> sys.stderr, 'MT940 requires the `enum34` package'

class enum(object):
@staticmethod
def unique(*args, **kwargs):
return []

Enum = object

import mt940


Expand Down

0 comments on commit 9cfe5ff

Please sign in to comment.