From e76598fa58773e7ce2a2cdc40b7586262f3bb0c9 Mon Sep 17 00:00:00 2001 From: Colin Nicholson Date: Thu, 20 Jan 2011 15:50:55 +0000 Subject: [PATCH] Wrapped long line --- swift/common/middleware/domain_remap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swift/common/middleware/domain_remap.py b/swift/common/middleware/domain_remap.py index d6163a40d8..de1cbc3cad 100644 --- a/swift/common/middleware/domain_remap.py +++ b/swift/common/middleware/domain_remap.py @@ -63,7 +63,8 @@ class DomainRemapMiddleware(object): return resp(env, start_response) if '_' not in account and '-' in account: account = account.replace('-', '_', 1) - if account.lower().startswith(self.reseller_prefix.lower()) and not account.startswith(self.reseller_prefix): + if account.lower().startswith(self.reseller_prefix.lower()) and \ + not account.startswith(self.reseller_prefix): account_suffix = account[len(self.reseller_prefix):] account = self.reseller_prefix + account_suffix path = env['PATH_INFO'].strip('/')