File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11Adam Brewer <adamhb321@gmail.com>
2+ Cole Stowell <cole@stowell.pro>
23Devin Matte <devinmatte@gmail.com>
34Galen Guyer <galen@galenguyer.com>
4- Cole Stowell <cole@stowell.pro>
55Jordan Rodgers <com6056@gmail.com>
66Liam Middlebrook <liammiddlebrook@gmail.com>
77Marc Billow <mbillow@me.com>
88Max Meinhold <mxmeinhold@gmail.com>
99Michael Francis <mikefrancis95@gmail.com>
10+ Tyler Allen <tyler@tallen.me>
1011William Stevens <contact@wastevensv.com>
Original file line number Diff line number Diff line change 11CHANGES
22=======
33
4+ 2.5.1
5+ -----
6+
7+ * fix: _get_attr -> __getattr__
8+
492.5.0
510-----
611
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def get(self, key):
5959 Arguments:
6060 key -- the attribute to get the value of
6161 """
62- return self ._get_attr (key , as_list = True )
62+ return self .__getattr__ (key , as_list = True ) # pylint: disable=unnecessary-dunder-call
6363
6464 @reconnect_on_fail
6565 def groups (self ):
@@ -91,7 +91,7 @@ def get_dn(self):
9191 return self .__dn__
9292
9393 @reconnect_on_fail
94- def _get_attr (self , key , as_list = False ):
94+ def __getattr__ (self , key , as_list = False ):
9595 res = self .__con__ .search_s (
9696 self .__dn__ ,
9797 ldap .SCOPE_BASE ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ description = CSH LDAP ORM
77long_description = file: README.md
88long_description_content_type = text/markdown
99license = MIT
10- version = 2.5.0
10+ version = 2.5.1
1111classifier =
1212 Natural Language :: English
1313 Operating System :: POSIX :: Linux
You can’t perform that action at this time.
0 commit comments