From 4247e840d2a348239990fbfe34fe4eccf6ce1d67 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 8 Jan 2013 14:08:15 +0100 Subject: scripts: csv2sto.py: Add copyright/license and fix typo inmessage --- scripts/csv2sto.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/csv2sto.py b/scripts/csv2sto.py index 9609a99..0f0e697 100755 --- a/scripts/csv2sto.py +++ b/scripts/csv2sto.py @@ -1,4 +1,11 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright (C) 2012-2013 Tobias Klauser +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. import os, sys import getopt @@ -66,12 +73,12 @@ def main(): if tot_nRows == 0: tot_nRows = nRows elif tot_nRows != nRows: - print "Error: Number of rows in CSV files does not match" + print "Error: Number of rows in CSV files do not match" sys.exit(-1) if tot_nCols == 0: tot_nCols = nCols elif tot_nCols != nCols: - print "Error: Number of columns in CSV files does not match" + print "Error: Number of columns in CSV files do not match" sys.exit(-1) fd.close() -- cgit v1.2.3-54-g00ecf