diff --git a/.travis.yml b/.travis.yml index bacbc42..059980a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python python: + - "2.6" - "2.7" - "pypy" install: diff --git a/nsupdate/utils/log.py b/nsupdate/utils/log.py index 6e53206..be0ee72 100644 --- a/nsupdate/utils/log.py +++ b/nsupdate/utils/log.py @@ -64,7 +64,7 @@ def _get_elementdict(dct, basename, excluded=None): if excluded is None: excluded = set() names = set(dct) - set(excluded) - return {basename + name: dct[name] for name in names} + return dict((basename + name, dct[name]) for name in names) def _build_request_info(request): diff --git a/setup.py b/setup.py index 61b6db3..c8edc01 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ setup( 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: Name Service (DNS)', ],