• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

allura


Commit MetaInfo

Revisión8c911f078420f13c4a7f1f714c5ee893bf8c18c2 (tree)
Tiempo2012-06-13 19:07:25
AutorIgor Bondarenko <jetmind2@gmai...>
CommiterIgor Bondarenko

Log Message

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

Cambiar Resumen

Diferencia incremental

--- 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])