allura
Révision | 23365387084dcc70b9fcafb5b6723d38235f91b9 (tree) |
---|---|
l'heure | 2012-06-22 18:33:08 |
Auteur | bolkimen <bolkimen@yaho...> |
Commiter | bolkimen |
[#4264] ticket:88 add p parameter for permanent accept
@@ -187,8 +187,8 @@ class SVNImplementation(M.RepositoryImplementation): | ||
187 | 187 | os.chmod(fn, 0755) |
188 | 188 | |
189 | 189 | def check_call(cmd): |
190 | - p = Popen(cmd, stdout=PIPE, stderr=PIPE) | |
191 | - stdout, stderr = p.communicate() | |
190 | + p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE) | |
191 | + stdout, stderr = p.communicate(input='p\n') | |
192 | 192 | if p.returncode != 0: |
193 | 193 | raise SVNCalledProcessError(cmd, p.returncode, stdout, stderr) |
194 | 194 |