Change maxium verbosity setting from 0 to logging.DEBUG.
[update-copyright.git] / bin / update-copyright.py
index 590f27b63d1d0a7aef2f67709101308ac7e05892..9394243025e16347dcdeab9696f0c13b9b19ec9a 100755 (executable)
@@ -1,6 +1,22 @@
 #!/usr/bin/env python
 #
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Update copyright information with information from the VCS repository.
 
@@ -43,7 +59,7 @@ if __name__ == '__main__':
                  action='count', help='Increment verbosity')
     options,args = p.parse_args()
 
-    _LOG.setLevel(max(0, _logging.ERROR - 10*options.verbose))
+    _LOG.setLevel(max(_logging.DEBUG, _logging.ERROR - 10*options.verbose))
 
     project = Project()
     project.load_config(open(options.config, 'r'))