calling swift-init without parameters ends in a traceback

Bug #712517 reported by Christian Berendt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Low
clayg

Bug Description

# swift-init
Traceback (most recent call last):
  File "/usr/bin/swift-init", line 35, in <module>
    _junk, server, command = sys.argv
ValueError: need more than 1 value to unpack

Also it would be nice to provide some usage information:

 # swift-init --help
Traceback (most recent call last):
  File "/usr/bin/swift-init", line 35, in <module>
    _junk, server, command = sys.argv
ValueError: need more than 2 values to unpack

# swift-init all
Traceback (most recent call last):
  File "/usr/bin/swift-init", line 35, in <module>
    _junk, server, command = sys.argv
ValueError: need more than 2 values to unpack

Related branches

clayg (clay-gerrard)
Changed in swift:
assignee: nobody → clayg (clay-gerrard)
status: New → In Progress
milestone: none → 1.3.0
clayg (clay-gerrard)
Changed in swift:
importance: Undecided → Low
clayg (clay-gerrard)
Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
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.