summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-11-27 14:06:43 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-11-27 14:06:43 +0000
commit8685a26e80e4d0166d023c83d81d78ccd2ebe486 (patch)
treed7ca5c28dce2ef32cfdd7aa13ea1742680c4d3a9 /net-www/straw/files
parentnew release (diff)
downloadgentoo-2-8685a26e80e4d0166d023c83d81d78ccd2ebe486.tar.gz
gentoo-2-8685a26e80e4d0166d023c83d81d78ccd2ebe486.tar.bz2
gentoo-2-8685a26e80e4d0166d023c83d81d78ccd2ebe486.zip
quick fix for upgrading from older versions
Diffstat (limited to 'net-www/straw/files')
-rw-r--r--net-www/straw/files/straw-0.21.2-convert_config.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-www/straw/files/straw-0.21.2-convert_config.patch b/net-www/straw/files/straw-0.21.2-convert_config.patch
new file mode 100644
index 000000000000..f627d2abdeec
--- /dev/null
+++ b/net-www/straw/files/straw-0.21.2-convert_config.patch
@@ -0,0 +1,11 @@
+--- Config.py~ 2003-11-26 18:34:27.000000000 +0000
++++ Config.py 2003-11-27 13:23:17.000000000 +0000
+@@ -469,7 +469,7 @@
+ if not os.path.exists(config.straw_config_file):
+ return
+
+- f = open(config.straw_config_file, "rw")
++ f = open(config.straw_config_file, "r+")
+ cf = cPickle.load(f)
+ if cf.has_key('poll_frequency'):
+ config.poll_frequency = cf.get('poll_frequency')