From 8a643f10e12b37c489efc395462904a6b6a23f4a Mon Sep 17 00:00:00 2001 From: Filip Noetzel Date: Sun, 30 Dec 2012 21:05:52 +0100 Subject: [PATCH] Fix typo: s/AccesDenied/AccessDenied/ Helps with "AttributeError: 'module' object has no attribute 'AccesDenied'" --- glances/glances.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glances/glances.py b/glances/glances.py index b018a19c..9430bb37 100755 --- a/glances/glances.py +++ b/glances/glances.py @@ -507,19 +507,19 @@ class GlancesGrabProcesses: try: procstat['memory_info'] = proc.get_memory_info() - except psutil.AccesDenied: + except psutil.AccessDenied: procstat['memory_info'] = {} try: procstat['memory_percent'] = proc.get_memory_percent() - except psutil.AccesDenied: + except psutil.AccessDenied: procstat['memory_percent'] = {} if psutil_get_cpu_percent_tag: try: procstat['cpu_percent'] = \ proc.get_cpu_percent(interval=0) - except psutil.AccesDenied: + except psutil.AccessDenied: procstat['cpu_percent'] = {} try: