archive-wal fails due to reporting glitch

Bug #1306891 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SwiftWAL
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/bin/swiftwal", line 9, in <module>
    load_entry_point('swiftwal==0.2.0', 'console_scripts', 'swiftwal')()
  File "/usr/lib/python2.7/dist-packages/swiftwal/commands.py", line 746, in main
    args.func(args)
  File "/usr/lib/python2.7/dist-packages/swiftwal/commands.py", line 371, in archive_wal_command
    prate(start_time, time.time(), wal_size)))
  File "/usr/lib/python2.7/dist-packages/swiftwal/commands.py", line 77, in prate
    return '{0} B/s '.format(ps.rtrim())
AttributeError: 'str' object has no attribute 'rtrim'

Revision history for this message
Stuart Bishop (stub) wrote :

Workaround, don't use --verbose

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.