Python 2.5 / boto error

Bug #884638 reported by GDR!
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

Bug Description

Patch for Python 2.5 attached. It makes duplicity 100% usable under 2.5.

/usr/lib/python2.5/site-packages/duplicity/backends/botobackend.py:391: Warning: 'with' will become a reserved keyword in Python 2.6
  File "/usr/lib/python2.5/site-packages/duplicity/backends/botobackend.py", line 391
    with FileChunkIO(filename, 'r', offset=offset, bytes=bytes) as fd:
                   ^
SyntaxError: invalid syntax

Revision history for this message
GDR! (gdr.name) wrote :
Changed in duplicity:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 0.6.18
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.