[SQL-CVS] r422 - home/phd/SQLObject/inheritance/tests
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2004-11-30 12:57:43
|
Author: phd Date: 2004-11-30 12:57:41 +0000 (Tue, 30 Nov 2004) New Revision: 422 Modified: home/phd/SQLObject/inheritance/tests/test_sqlobject.py Log: Merged fix from revision 421: replaced usage() with sys.exit() and an error message. Modified: home/phd/SQLObject/inheritance/tests/test_sqlobject.py =================================================================== --- home/phd/SQLObject/inheritance/tests/test_sqlobject.py 2004-11-30 12:56:55 UTC (rev 421) +++ home/phd/SQLObject/inheritance/tests/test_sqlobject.py 2004-11-30 12:57:41 UTC (rev 422) @@ -1340,7 +1340,7 @@ ["database=", "extra-verbose", "super-verbose", "inserts", "coverage"]) except GetoptError: - usage(1) + sys.exit("Usage: %s [-d|--database all|type] [-v[v]] [--extra-verbose|--super-verbose] [--inserts] [--coverage]" % sys.argv[0]) dbs = [] newArgs = [] |