diff options
author | d-kiss <speakupness@gmail.com> | 2018-01-27 22:29:13 +0200 |
---|---|---|
committer | d-kiss <speakupness@gmail.com> | 2018-01-27 22:29:13 +0200 |
commit | 767eb8893a4de853e1dbcf2df18d18930bc52cca (patch) | |
tree | 7e5494285b5ca3d6ba675cccf2cb78cdbe33e224 | |
parent | e5ee3ba1048b981bf980a8f5b23a16959eee9221 (diff) | |
download | natsort-767eb8893a4de853e1dbcf2df18d18930bc52cca.tar.gz |
Prevent SyntaxError in Python 2.6.
-rw-r--r-- | natsort/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/natsort/__init__.py b/natsort/__init__.py index c1c41e8..3fe1c9f 100644 --- a/natsort/__init__.py +++ b/natsort/__init__.py @@ -50,5 +50,5 @@ __all__ = [ # Add the ns keys to this namespace for convenience. globals().update( - {k: v for k, v in vars(ns).items() if not k.startswith('_')} + dict((k, v) for k, v in vars(ns).items() if not k.startswith('_')) ) |