errno.ESTALE = -1
import re
import types
- try:
- import cPickle as pickle
- except ImportError:
- import pickle
try:
from subprocess import getstatusoutput as subprocess_getstatusoutput
import portage
portage.proxy.lazyimport.lazyimport(globals(),
+ 'pickle',
'portage.dep:Atom',
'portage.util.listdir:_ignorecvs_dirs'
)
from portage import StringIO
from portage import os
-from portage import pickle
from portage import subprocess_getstatusoutput
from portage import _encodings
from portage import _os_merge
__all__ = ['MtimeDB']
import copy
+try:
+ import cPickle as pickle
+except ImportError:
+ import pickle
import portage
-from portage import pickle, _unicode_encode
+from portage import _unicode_encode
from portage.data import portage_gid, uid
from portage.localization import _
from portage.util import apply_secpass_permissions, atomic_ofstream, writemsg