From 1afdc13a842d43acf4bc10649c18a0bbcdbd6073 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Wed, 16 Oct 2013 16:24:25 -0700 Subject: [PATCH] fix typo causing a "os" is not defined test error. --- pym/portage/util/movefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/util/movefile.py b/pym/portage/util/movefile.py index 4f158cd00..452e77f0d 100644 --- a/pym/portage/util/movefile.py +++ b/pym/portage/util/movefile.py @@ -129,7 +129,7 @@ else: (_unicode_decode(dest), _unicode_decode(attr))) else: try: - with open(os.devnull, 'wb') as f: + with open(_os.devnull, 'wb') as f: subprocess.call(["getfattr", "--version"], stdout=f) subprocess.call(["setfattr", "--version"], stdout=f) except OSError: -- 2.26.2