Minor docstring updates
authorGuido Günther <agx@sigxcpu.org>
Thu, 22 Aug 2013 08:22:37 +0000 (10:22 +0200)
committerGuido Günther <agx@sigxcpu.org>
Thu, 22 Aug 2013 08:22:37 +0000 (10:22 +0200)
gbp/deb/control.py
gbp/deb/policy.py
gbp/git/args.py
gbp/scripts/__init__.py
gbp/scripts/common/__init__.py
gbp/tristate.py
setup.py

index da01ebea0c920f337188819bfeb0547390b05612..b15d36014f5ded2cf3f2b0aba8ac9d0d5a3afb94 100644 (file)
@@ -14,7 +14,7 @@
 #    You should have received a copy of the GNU General Public License
 #    along with this program; if not, write to the Free Software
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-"""A Debian Control"""
+"""A Debian Control file"""
 
 import email
 import os
index b35603c441575c2f93d151c842c21f08023f84fd..006dbb219470e83556ea082f1d4ffcf3bf5c79e9 100644 (file)
 #    You should have received a copy of the GNU General Public License
 #    along with this program; if not, write to the Free Software
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-"""provides some debian source package related helpers"""
+"""
+Debian Packaging policies
+
+like allowed characters in version numbers, etc.
+"""
 
 import os
 import re
index 8f0ffba6657028077ef34a2e38d1c7f71f209d77..f9fc64d6b42447579d1bcaa1404a171965f0394e 100644 (file)
@@ -14,6 +14,9 @@
 #    You should have received a copy of the GNU General Public License
 #    along with this program; if not, write to the Free Software
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""
+Git command argument handling helpers
+"""
 
 import collections
 
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..fde826746bf7b93e42241e4abecfb1a812c4b2e7 100644 (file)
@@ -0,0 +1,17 @@
+# vim: set fileencoding=utf-8 :
+#
+# (C) 2013 Guido Günther <agx@sigxcpu.org>
+#    This program 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 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program 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 this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""The gbp commands"""
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..144648368bdd36206153a31a291a6edfe5daa8ad 100644 (file)
@@ -0,0 +1,17 @@
+# vim: set fileencoding=utf-8 :
+#
+# (C) 2013 Guido Günther <agx@sigxcpu.org>
+#    This program 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 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program 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 this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+"""Parts shared between the deb and rpm commands"""
index 6e26c829c1c89f487a4643ae18b23e59932b9f15..93610605e388b2dcf3c40e7e2f887a803206accd 100644 (file)
 #    along with this program; if not, write to the Free Software
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+"""
+A switch with three states: on|off|auto
+"""
+
 class Tristate(object):
     """Tri-state value: on, off or auto """
     ON  = True      # state is on == do it
index f74715f06c6f1e20bc0471090047d879341d0d66..23bde20c16fdc57343f8fbfadf470276424d3ee9 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -37,6 +37,7 @@ def fetch_version():
         pass # Failing is fine, we just can't print the version then
 
     with file('gbp/version.py', 'w') as f:
+        f.write('"The current gbp version number"\n')
         f.write('gbp_version="%s"\n' % version)
 
     return version