ci.py: minor refactoring

This commit is contained in:
Daniel Marjamäki 2014-09-09 05:35:11 +02:00
parent 323fd1b3dc
commit e875146060
1 changed files with 1 additions and 2 deletions

View File

@ -58,8 +58,7 @@ def iconv(filename):
# Generate daily webreport # Generate daily webreport
def generate_webreport(): def generate_webreport():
filenames = glob.glob('*/*.cpp') for filename in glob.glob('*/*.cpp'):
for filename in filenames:
iconv(filename) iconv(filename)
subprocess.call( subprocess.call(
["git", "commit", "-a", "-m", '"automatic conversion from iso-8859-1 formatting to utf-8"']) ["git", "commit", "-a", "-m", '"automatic conversion from iso-8859-1 formatting to utf-8"'])