[misc] 01/05: Use single quotes for computer text
Chris Lamb
chris at chris-lamb.co.uk
Sun Aug 28 00:39:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository misc.
commit f4299ec4b6aa7b5319297e9d8dca3e798e9cc2e3
Author: Chris Lamb <lamby at debian.org>
Date: Sun Aug 28 00:54:01 2016 +0100
Use single quotes for computer text
---
reports/bin/generate-draft | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/reports/bin/generate-draft b/reports/bin/generate-draft
index d14d0ef..3729176 100755
--- a/reports/bin/generate-draft
+++ b/reports/bin/generate-draft
@@ -24,7 +24,7 @@ PROJECTS = (
)
def main(*args):
- for d in map(sibling_repo_gitdir, list(PROJECTS) + ["notes"]):
+ for d in map(sibling_repo_gitdir, list(PROJECTS) + ['notes']):
ensure_dir(d)
week = int(args[0]) if len(args) > 0 else prev_week()
@@ -48,8 +48,8 @@ def sibling_repo_gitdir(path):
global REPO_PARENT
if not REPO_PARENT:
REPO_PARENT = os.path.dirname(subprocess.check_output(
- ["git", "rev-parse", "--show-toplevel"]).decode("utf-8"))
- return os.path.join(REPO_PARENT, path, ".git")
+ ['git', 'rev-parse', '--show-toplevel']).decode('utf-8'))
+ return os.path.join(REPO_PARENT, path, '.git')
def ensure_dir(path):
if not os.path.isdir(path):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list