• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修訂8c911f078420f13c4a7f1f714c5ee893bf8c18c2 (tree)
時間2012-06-13 19:07:25
作者Igor Bondarenko <jetmind2@gmai...>
CommiterIgor Bondarenko

Log Message

[#4258] ticket:84 Use communicate instead of wait.

Change Summary

差異

--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -188,9 +188,8 @@ class SVNImplementation(M.RepositoryImplementation):
188188
189189 def check_call(cmd):
190190 p = Popen(cmd, stdout=PIPE, stderr=PIPE)
191- p.wait()
191+ stdout, stderr = p.communicate()
192192 if p.returncode != 0:
193- stdout, stderr = p.communicate()
194193 raise SVNCalledProcessError(cmd, p.returncode, stdout, stderr)
195194
196195 check_call(['svnsync', 'init', self._url, source_url])