Changeset 0878ba9 in osmose-backend


Ignore:
Timestamp:
Feb 25, 2014 10:27:54 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
041cfaf
Parents:
303664d
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (20/02/2014 19:59:53)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (25/02/2014 22:27:54)
Message:

Use python OrderedDict? module if possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osmose_config.py

    r967094e r0878ba9  
    2525import os 
    2626import re 
    27 from modules.OrderedDict import OrderedDict 
     27try: 
     28     from collections import OrderedDict 
     29except ImportError: 
     30     from modules.OrderedDict import OrderedDict 
    2831import modules.config as config 
    2932 
Note: See TracChangeset for help on using the changeset viewer.