[Python-apps-commits] r5149 - in packages/foff/trunk/debian (3 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Sun Apr 25 21:03:30 UTC 2010
Date: Sunday, April 25, 2010 @ 21:03:20
Author: dktrkranz
Revision: 5149
+ * debian/patches/filename_spaces.patch:
+ - Correctly parse filenames with spaces (Closes: #575389).
Added:
packages/foff/trunk/debian/patches/filename_spaces.patch
Modified:
packages/foff/trunk/debian/changelog
packages/foff/trunk/debian/patches/series
Modified: packages/foff/trunk/debian/changelog
===================================================================
--- packages/foff/trunk/debian/changelog 2010-04-25 20:58:07 UTC (rev 5148)
+++ packages/foff/trunk/debian/changelog 2010-04-25 21:03:20 UTC (rev 5149)
@@ -1,12 +1,14 @@
foff (0.99.5-7) UNRELEASED; urgency=low
* Switch to format 3.0 (quilt).
+ * debian/patches/filename_spaces.patch:
+ - Correctly parse filenames with spaces (Closes: #575389).
* debian/patches/icons.patch:
- Change upload/download icons to avoid confusion (Closes: #575388).
* debian/control:
- Bump Standards-Version to 3.8.4, no changes required.
- -- Luca Falavigna <dktrkranz at debian.org> Sun, 25 Apr 2010 21:40:17 +0200
+ -- Luca Falavigna <dktrkranz at debian.org> Sun, 25 Apr 2010 23:02:35 +0200
foff (0.99.5-6) unstable; urgency=low
Added: packages/foff/trunk/debian/patches/filename_spaces.patch
===================================================================
--- packages/foff/trunk/debian/patches/filename_spaces.patch (rev 0)
+++ packages/foff/trunk/debian/patches/filename_spaces.patch 2010-04-25 21:03:20 UTC (rev 5149)
@@ -0,0 +1,23 @@
+Correctly parse filenames with spaces.
+
+Index: foff-0.99.5/foff.py
+===================================================================
+--- foff-0.99.5.orig/foff.py 2010-04-25 22:59:13.669347269 +0200
++++ foff-0.99.5/foff.py 2010-04-25 23:00:04.473341021 +0200
+@@ -42,6 +42,7 @@
+ import threading
+ import os, stat
+ import re
++import string
+
+ import locale
+ locale.setlocale(locale.LC_ALL,'')
+@@ -1299,7 +1300,7 @@
+ def cb_list_dirs(self, line):
+
+ words = line.split()
+- diritem = words[-1]
++ diritem = string.join(words[8:])
+
+ # if diritem in ('.','..'):
+ # continue
Modified: packages/foff/trunk/debian/patches/series
===================================================================
--- packages/foff/trunk/debian/patches/series 2010-04-25 20:58:07 UTC (rev 5148)
+++ packages/foff/trunk/debian/patches/series 2010-04-25 21:03:20 UTC (rev 5149)
@@ -3,3 +3,4 @@
hashlib_support.patch
distutils.patch
icons.patch
+filename_spaces.patch
More information about the Python-apps-commits
mailing list