mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-24 02:05:12 +01:00
object.__getattr__ -> object.__getattribute__
This commit is contained in:
parent
ffe88abe80
commit
ec356383e2
@ -107,7 +107,7 @@ class ConfigSet(object):
|
||||
conf.env['value']
|
||||
"""
|
||||
if name in self.__slots__:
|
||||
return object.__getattr__(self, name)
|
||||
return object.__getattribute__(self, name)
|
||||
else:
|
||||
return self[name]
|
||||
|
||||
|
@ -43,9 +43,7 @@ class Popen(object):
|
||||
if Popen.verbose:
|
||||
sys.stdout.write("Getattr: %s..." % name)
|
||||
if name in Popen.__slots__:
|
||||
if Popen.verbose:
|
||||
print("In slots!")
|
||||
return object.__getattr__(self, name)
|
||||
return object.__getattribute__(self, name)
|
||||
else:
|
||||
if self.popen is not None:
|
||||
if Popen.verbose:
|
||||
|
Loading…
Reference in New Issue
Block a user