From 36b5f6eec98a4042b17a2645d8947ffd4c1aee14 Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Sat, 19 May 2012 01:20:14 +0800 Subject: Backslash continuation removal (common folsom-1) Fixes bug #1001361 Removes backslash continuations Change-Id: I86fbb950b48a7681b3c1a010b0d0007cd2f12632 --- openstack/common/setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openstack/common') diff --git a/openstack/common/setup.py b/openstack/common/setup.py index 4017890..50c59db 100644 --- a/openstack/common/setup.py +++ b/openstack/common/setup.py @@ -33,8 +33,8 @@ def parse_mailmap(mailmap='.mailmap'): for l in fp: l = l.strip() if not l.startswith('#') and ' ' in l: - canonical_email, alias = [x for x in l.split(' ') \ - if x.startswith('<')] + canonical_email, alias = [x for x in l.split(' ') + if x.startswith('<')] mapping[alias] = canonical_email return mapping @@ -137,8 +137,8 @@ def generate_authors(): new_authors = 'AUTHORS' if os.path.isdir('.git'): # don't include jenkins email address in AUTHORS file - git_log_cmd = "git log --format='%aN <%aE>' | sort -u | " \ - "grep -v " + jenkins_email + git_log_cmd = ("git log --format='%aN <%aE>' | sort -u | " + "grep -v " + jenkins_email) changelog = _run_shell_command(git_log_cmd) mailmap = parse_mailmap() with open(new_authors, 'w') as new_authors_fh: -- cgit