From 434b70968156990490c01d66323d62967fa403a4 Mon Sep 17 00:00:00 2001 From: Edu4rdSHL Date: Mon, 4 Jun 2018 18:56:32 -0500 Subject: [PATCH] =?UTF-8?q?Finalizada=20migraci=C3=B3n=20desde=20Github?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ps_mem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ps_mem.py b/ps_mem.py index 1412054..b578688 100644 --- a/ps_mem.py +++ b/ps_mem.py @@ -37,7 +37,7 @@ # V1.9 20 Feb 2008 Fix invalid values reported when PSS is available. # Reported by Andrey Borzenkov # V3.11 17 Sep 2017 -# http://github.com/pixelb/scripts/commits/master/scripts/ps_mem.py +# http://gitlab.com/pixelb/scripts/commits/master/scripts/ps_mem.py # Notes: # @@ -301,7 +301,7 @@ def getCmdName(pid, split_args, discriminate_by_pid): try: path = os.readlink(path) # Some symlink targets were seen to contain NULs on RHEL 5 at least - # https://github.com/pixelb/scripts/pull/10, so take string up to NUL + # https://gitlab.com/pixelb/scripts/pull/10, so take string up to NUL path = path.split('\0')[0] except OSError: val = sys.exc_info()[1]