summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/util.py17
1 files changed, 2 insertions, 15 deletions
diff --git a/pym/portage/util.py b/pym/portage/util.py
index d7a0b0fcb..481c15bbc 100644
--- a/pym/portage/util.py
+++ b/pym/portage/util.py
@@ -564,21 +564,8 @@ def varexpand(mystring, mydict={}):
cexpand[mystring]=newstring[1:]
return newstring[1:]
-def pickle_write(data,filename,debug=0):
- import os
- try:
- myf=open(filename,"w")
- pickle.dump(data,myf,-1)
- myf.flush()
- myf.close()
- writemsg("Wrote pickle: "+str(filename)+"\n",1)
- os.chown(myefn,uid,portage_gid)
- os.chmod(myefn,0664)
- except SystemExit, e:
- raise
- except Exception, e:
- return 0
- return 1
+# broken and removed, but can still be imported
+pickle_write = None
def pickle_read(filename,default=None,debug=0):
import os