We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08e0d5f commit cc77e6bCopy full SHA for cc77e6b
git/test/lib/helper.py
@@ -181,9 +181,6 @@ def git_daemon_launched(base_path, ip, port):
181
as_process=True)
182
# yes, I know ... fortunately, this is always going to work if sleep time is just large enough
183
time.sleep(0.5 * (1 + is_win))
184
-
185
- yield
186
187
except Exception as ex:
188
msg = textwrap.dedent("""
189
Launching git-daemon failed due to: %s
@@ -203,8 +200,10 @@ def git_daemon_launched(base_path, ip, port):
203
200
CYGWIN has no daemon, but if one exists, it gets along fine (but has also paths problems).""")
204
201
log.warning(msg, ex, ip, port, base_path, base_path, exc_info=1)
205
202
206
+ yield# OK, assume daemon started manually.
207
+ else:
+ yield # Yield outside try, to avoid catching
208
finally:
209
if gd:
210
try:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments