From: Brian Dolbec Date: Wed, 16 Oct 2013 23:24:25 +0000 (-0700) Subject: fix typo causing a "os" is not defined test error. X-Git-Tag: v2.2.8~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1afdc13a842d43acf4bc10649c18a0bbcdbd6073;p=portage.git fix typo causing a "os" is not defined test error. --- 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: