Fix some pep8 warning
When running tox -epep8, few warnings are displayed. This patch is to fix them Change-Id: I3cbf9cbeacb7995b0ab30c167ff79b88874807fc
This commit is contained in:
parent
d2e4de1483
commit
9f772a01ff
@ -77,8 +77,8 @@ with open(outFileName, "w") as outFile:
|
||||
|
||||
# Correct Source
|
||||
if data.get('source') not in (
|
||||
'http://git.openstack.org/cgit/openstack/defcore/',
|
||||
'http://git.openstack.org/cgit/openstack/interop/'):
|
||||
'http://git.openstack.org/cgit/openstack/defcore/',
|
||||
'http://git.openstack.org/cgit/openstack/interop/'):
|
||||
print_error("The expected interoperability guideline source not found")
|
||||
|
||||
outFile.write("""
|
||||
|
@ -14,7 +14,6 @@
|
||||
# under the License.
|
||||
|
||||
import argparse
|
||||
import fileinput
|
||||
import os
|
||||
import subprocess
|
||||
import tempfile
|
||||
@ -41,7 +40,7 @@ beforehand.
|
||||
|
||||
After replacing these values, the script then retabulates the scores based
|
||||
on the new data.
|
||||
"""), add_help=True, formatter_class=CustomFormatter)
|
||||
"""), add_help=True, formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
parser.add_argument("--file", "-f", metavar='f', type=str, action="store",
|
||||
dest="filename", default="tabulated_scores.csv")
|
||||
result = parser.parse_args()
|
||||
|
Loading…
Reference in New Issue
Block a user