Skip to content

Commit

Permalink
Fixed Ordereddict usage on python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
keul committed Apr 27, 2012
1 parent 498c833 commit b631be2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -32,7 +32,7 @@
url='https://github.com/RedTurtle/zope_lrr_analyzer',
license='GPL',
# packages=find_packages('src', exclude=['ez_setup',]),
py_modules=['tinylogan',],
py_modules=['zope_lrr_analyzer',],
package_dir = {'': 'src'},
include_package_data=True,
zip_safe=False,
Expand Down
5 changes: 4 additions & 1 deletion src/zope_lrr_analyzer.py
Expand Up @@ -22,7 +22,10 @@
import logging
import optparse
from datetime import datetime, timedelta
from ordereddict import OrderedDict
try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict

version = "0.1"
description = "Analyze Zope instance log with haufe.requestmonitoring entries"
Expand Down

0 comments on commit b631be2

Please sign in to comment.