Merge "Fix some pep8 warning"

This commit is contained in:
Jenkins 2017-07-12 16:22:46 +00:00 committed by Gerrit Code Review
commit d232c0b111
2 changed files with 3 additions and 4 deletions

View File

@ -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("""

View File

@ -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()