Skip to content

Commit

Permalink
Remove some straggling Python 2.6-isms
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Jun 11, 2016
1 parent 0a735c7 commit a11e628
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
5 changes: 1 addition & 4 deletions confuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
import yaml
import collections
import re
try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict
from collections import OrderedDict

UNIX_DIR_VAR = 'XDG_CONFIG_HOME'
UNIX_DIR_FALLBACK = '~/.config'
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def _read(fn):
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
7 changes: 0 additions & 7 deletions test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
import os


# Use unittest2 on Python < 2.7.
try:
import unittest2 as unittest
except ImportError:
import unittest # noqa


def _root(*sources):
return confuse.RootView([confuse.ConfigSource.of(s) for s in sources])

Expand Down

0 comments on commit a11e628

Please sign in to comment.