Mercurial > hg
comparison hgext/remotefilelog/fileserverclient.py @ 41759:aaad36b88298
cleanup: use () to wrap long lines instead of \
This is a little less brittle, and often helps indentation. In a
surprising number of cases the entire cleanup was deleting the \, as
the expression was *already* parenthesized in a workable way.
Differential Revision: https://phab.mercurial-scm.org/D5993
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 20 Feb 2019 19:28:51 -0500 |
parents | 74e3df766052 |
children | 0129bf02fa04 |
comparison
equal
deleted
inserted
replaced
41758:15d3facfa40a | 41759:aaad36b88298 |
---|---|
136 self.connected = False | 136 self.connected = False |
137 | 137 |
138 def connect(self, cachecommand): | 138 def connect(self, cachecommand): |
139 if self.pipeo: | 139 if self.pipeo: |
140 raise error.Abort(_("cache connection already open")) | 140 raise error.Abort(_("cache connection already open")) |
141 self.pipei, self.pipeo, self.pipee, self.subprocess = \ | 141 self.pipei, self.pipeo, self.pipee, self.subprocess = ( |
142 procutil.popen4(cachecommand) | 142 procutil.popen4(cachecommand)) |
143 self.connected = True | 143 self.connected = True |
144 | 144 |
145 def close(self): | 145 def close(self): |
146 def tryclose(pipe): | 146 def tryclose(pipe): |
147 try: | 147 try: |