fix typo causing a "os" is not defined test error.
authorBrian Dolbec <dolsen@gentoo.org>
Wed, 16 Oct 2013 23:24:25 +0000 (16:24 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Wed, 16 Oct 2013 23:24:25 +0000 (16:24 -0700)
pym/portage/util/movefile.py

index 4f158cd00a08e3b8d1f93c915b0e58d8adc886cb..452e77f0d8d8bab7de2df1d51a48cff6830f0fea 100644 (file)
@@ -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: