idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "Apache" <apache AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r711 - branches/opensource/python/license_adder
- Date: Wed, 6 Feb 2008 11:04:07 +0100
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: geus AT PSI.CH
Date: Wed Feb 6 11:04:06 2008
New Revision: 711
Log:
Added usage information for license_adder.py
Modified:
branches/opensource/python/license_adder/license_adder.py
Modified: branches/opensource/python/license_adder/license_adder.py
==============================================================================
--- branches/opensource/python/license_adder/license_adder.py (original)
+++ branches/opensource/python/license_adder/license_adder.py Wed Feb 6
11:04:06 2008
@@ -63,6 +63,9 @@
def main():
"Main program"
configure_loggers()
+ if len(sys.argv) != 2:
+ print "usage: python %s BASEDIR" % sys.argv[0]
+ sys.exit(1)
base_dir = sys.argv[1]
for root, dirs, files in os.walk(base_dir):
for file in files:
- [idok-commit] idok commit r711 - branches/opensource/python/license_adder, Apache, 02/06/2008
Archive powered by MHonArc 2.6.19.