Project

General

Profile

Bug #22299

Cannot complete string formatting when raising errors on invalid input for --data

Added by Alfredo Deza about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
12/01/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

This line here

            error = [
                'Cannot use device (%s).',
                'A vg/lv path or an existing device is needed' % arg]

Is doing the string formatting in the wrong place, causing a TypeError to be raised

History

#2 Updated by Alfredo Deza about 1 year ago

  • Status changed from New to Need Review

#3 Updated by Alfredo Deza about 1 year ago

  • Status changed from Need Review to Resolved

merged commit dfe1b79 into maste

Also available in: Atom PDF