--file-changed failed when file contains spaces

Bug #1531154 reported by shaochun
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Python 2.7.6
Ubuntu 14.04.3 LTS

The listed (1) command below will fail when spaces exist in UTF8-based filenames:

(1) duplicity collection-status --file-changed "0008 台灣" file://./backup/scene #this will fail
(2) duplicity collection-status --file-changed "1" file://./backup/scene #this is normal

Attached is a quick patch addressing this issue.

Revision history for this message
shaochun (shaochun) wrote :
shaochun (shaochun)
description: updated
shaochun (shaochun)
tags: added: collection-status
tags: added: file-changed
Revision history for this message
shaochun (shaochun) wrote :

This slightly modified patch keeps the Filename in Duplicity's output-summary untouched:

File: 0008 台灣
Total number of backup: 2

Changed in duplicity:
assignee: nobody → Kenneth Loafman (kenneth-loafman)
importance: Undecided → Medium
milestone: none → 0.7.07
status: New → In Progress
Changed in duplicity:
assignee: Kenneth Loafman (kenneth-loafman) → nobody
status: In Progress → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.