mirror of
https://github.com/kennethreitz-archive/args.git
synced 2026-06-05 23:20:18 +00:00
Merge pull request #11 from faulkner/python2.6-ordereddict
Use ordereddict to support Python 2.6.
This commit is contained in:
@@ -9,7 +9,10 @@ import os
|
||||
import sys
|
||||
from sys import argv
|
||||
from glob import glob
|
||||
from collections import OrderedDict
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
from ordereddict import OrderedDict
|
||||
|
||||
# Python 3
|
||||
if sys.version_info[0] == 3:
|
||||
|
||||
Reference in New Issue
Block a user