From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C797713888F for ; Tue, 6 Oct 2015 06:52:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BA2C21C00E; Tue, 6 Oct 2015 06:52:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9BF621C00E for ; Tue, 6 Oct 2015 06:52:05 +0000 (UTC) Received: from professor-x (S010634bdfa9ecf80.vc.shawcable.net [96.49.31.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 41661340A13 for ; Tue, 6 Oct 2015 06:52:02 +0000 (UTC) Date: Mon, 5 Oct 2015 23:51:12 -0700 From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] [PATCH] resume: fix missing sys import Message-ID: <20151005235112.0e1c02d5.dolsen@gentoo.org> In-Reply-To: <1444103297-14564-1-git-send-email-vapier@gentoo.org> References: <1444103297-14564-1-git-send-email-vapier@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 3ad05291-eecf-4114-aa3e-9bb22cc31ee3 X-Archives-Hash: e4c2f6978bb1bb6b2e940c0785cf0cdb On Mon, 5 Oct 2015 23:48:17 -0400 Mike Frysinger wrote: > This module uses the sys module but didn't actually import it. > --- > catalyst/base/resume.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/catalyst/base/resume.py b/catalyst/base/resume.py > index 2c006ab..a03adf3 100644 > --- a/catalyst/base/resume.py > +++ b/catalyst/base/resume.py > @@ -14,6 +14,7 @@ set, unset, is_set, is_unset, enabled, clear_all > import os > import shutil > from stat import ST_UID, ST_GID, ST_MODE > +import sys > import traceback > > from catalyst.fileops import ensure_dirs, pjoin, listdir_files, > clear_dir uh oh, this one is my bad. I usually run pyflakes on the code to pick up these little things... Thank you, merge please -- Brian Dolbec