From b0d24f3025e239b8f9826c9fda0e4d0f7163387d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 17 Aug 2009 23:17:30 +0000 Subject: Use portage.os, _content_encoding, and _fs_encoding where appropriate. svn path=/main/trunk/; revision=14080 --- pym/portage/locks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pym/portage/locks.py') diff --git a/pym/portage/locks.py b/pym/portage/locks.py index c41b4aae7..adf82af81 100644 --- a/pym/portage/locks.py +++ b/pym/portage/locks.py @@ -7,7 +7,10 @@ __all__ = ["lockdir", "unlockdir", "lockfile", "unlockfile", \ "hardlock_name", "hardlink_is_mine", "hardlink_lockfile", \ "unhardlink_lockfile", "hardlock_cleanup"] -import errno, os, stat, time +import errno +import stat +import time +from portage import os from portage.exception import DirectoryNotFound, FileNotFound, \ InvalidData, TryAgain, OperationNotPermitted, PermissionDenied from portage.data import portage_gid -- cgit v1.2.3-1-g7c22