summaryrefslogtreecommitdiffstats
path: root/openstack/common
diff options
context:
space:
mode:
authorZhongyue Luo <lzyeval@gmail.com>2012-05-19 01:20:14 +0800
committerZhongyue Luo <lzyeval@gmail.com>2012-05-19 01:20:14 +0800
commit36b5f6eec98a4042b17a2645d8947ffd4c1aee14 (patch)
treedd05b076a3aac07d4bfc76fe1a868580a5d34700 /openstack/common
parentf34db0fe7414a1e8390a0a04ae33a59e73a755c8 (diff)
downloadoslo-36b5f6eec98a4042b17a2645d8947ffd4c1aee14.tar.gz
oslo-36b5f6eec98a4042b17a2645d8947ffd4c1aee14.tar.xz
oslo-36b5f6eec98a4042b17a2645d8947ffd4c1aee14.zip
Backslash continuation removal (common folsom-1)
Fixes bug #1001361 Removes backslash continuations Change-Id: I86fbb950b48a7681b3c1a010b0d0007cd2f12632
Diffstat (limited to 'openstack/common')
-rw-r--r--openstack/common/setup.py8
1 files changed, 4 insertions, 4 deletions
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: