Skip to content

Commit

Permalink
Small fixes for pull request pywinauto#886
Browse files Browse the repository at this point in the history
  • Loading branch information
airelil committed Feb 12, 2020
1 parent 8f78d4b commit 9e7fa0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pywinauto/controls/uiawrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import comtypes

from .. import backend
from ..findwindows import WindowNotFoundError
from .. import WindowNotFoundError # noqa #E402
from ..timings import Timings
from .win_base_wrapper import WinBaseWrapper
from ..base_wrapper import BaseMeta
Expand Down Expand Up @@ -131,7 +131,7 @@ def __get__(self, obj, cls):
if obj is None:
return None
value = self.fget(obj)
setattr(obj, self.func_name, value)
#setattr(obj, self.func_name, value)
return value
lazy_property = LazyProperty

Expand Down
1 change: 0 additions & 1 deletion pywinauto/linux/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ def read_cpu_info():
res = 0.0
else:
res = 100.0 * (float(pid_time) / float(sys_time))
#print("linux app cpu usage: ", res)
return res

except IOError:
Expand Down

0 comments on commit 9e7fa0a

Please sign in to comment.