diff options
author | Carlton Gibson <carlton.gibson@noumenal.co.uk> | 2017-04-05 23:33:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 23:33:36 +0200 |
commit | 5d835b39f1400e8e878b6bfd675d9ee0fe59de42 (patch) | |
tree | 6ef69897fd6f93216f2ac864703d7b64f1adf4d0 | |
parent | 631bc45e30d0b75b14b9200730ab672df947a5bb (diff) | |
parent | 83986b38c673eb707e72305417cf8bfca375827b (diff) | |
download | django-appconf-5d835b39f1400e8e878b6bfd675d9ee0fe59de42.tar.gz |
Merge pull request #36 from twz915/patch-1
sorted works well on set
-rw-r--r-- | appconf/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appconf/base.py b/appconf/base.py index d5788ba..c10535c 100644 --- a/appconf/base.py +++ b/appconf/base.py @@ -115,7 +115,7 @@ class AppConf(six.with_metaclass(AppConfMetaClass)): setattr(self, name, value) def __dir__(self): - return sorted(list(set(self._meta.names.keys()))) + return sorted(set(self._meta.names.keys())) # For instance access.. @property |