diff options
author | Florian Bruhin <git@the-compiler.org> | 2014-05-15 08:24:10 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2014-05-15 08:24:10 +0200 |
commit | 7f3a21e4f0e213e08efce11529b2eca7219578b9 (patch) | |
tree | fed32f63fc17f712ffd894526fd4eb9cdb39a317 /scripts/setupcommon.py | |
parent | 5de6084e50d57944a61ef5da1d9141d49624c349 (diff) | |
download | qutebrowser-7f3a21e4f0e213e08efce11529b2eca7219578b9.tar.gz qutebrowser-7f3a21e4f0e213e08efce11529b2eca7219578b9.zip |
Fix lint in scripts
Diffstat (limited to 'scripts/setupcommon.py')
-rw-r--r-- | scripts/setupcommon.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/setupcommon.py b/scripts/setupcommon.py index 4f91bb02e..b1d66b311 100644 --- a/scripts/setupcommon.py +++ b/scripts/setupcommon.py @@ -16,7 +16,7 @@ # along with qutebrowser. If not, see <http://www.gnu.org/licenses/>. -"""Data used by setup.py and scripts/freeze.py""" +"""Data used by setup.py and scripts/freeze.py.""" import sys import os @@ -34,6 +34,7 @@ except NameError: def read_file(name): + """Get the string contained in the file named name.""" with open(name, encoding='utf-8') as f: return f.read() @@ -58,6 +59,7 @@ def _git_str(): def write_git_file(): + """Write the git-commit-id file with the current commit.""" gitstr = _git_str() if gitstr is None: gitstr = '' |