From 6a8b4d25c524769efbcdee953d3b2cabfb00b73d Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 7 Jan 2015 00:52:49 +0800 Subject: [PATCH] Fix typo --- modules/buildd/files/buildd-schroot-aptitude-kill | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/buildd/files/buildd-schroot-aptitude-kill b/modules/buildd/files/buildd-schroot-aptitude-kill index 9a4d72092..c73667a6d 100755 --- a/modules/buildd/files/buildd-schroot-aptitude-kill +++ b/modules/buildd/files/buildd-schroot-aptitude-kill @@ -44,7 +44,7 @@ for p in psutil.process_iter(): if parent is None: continue if parent.name != 'schroot': continue # - try + try: rootdir = os.readlink('/proc/%d/root'%(p.pid,)) except OSError as e: if e.errno == errno.ENOENT: -- 2.20.1