| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,9 +38,10 @@ environment: | |||
| 38 | 38 | install: | |
| 39 | 39 | - set PATH=%PYTHON%;%PYTHON%\Scripts;%GIT_PATH%;%PATH% | |
| 40 | 40 | ||
| 41 | - ## Print architecture, python & git used for debugging. | ||
| 41 | + ## Print configuration for debugging. | ||
| 42 | 42 | # | |
| 43 | 43 | - | | |
| 44 | + echo %PATH% | ||
| 44 | 45 | uname -a | |
| 45 | 46 | where git git-daemon python pip pip3 pip34 | |
| 46 | 47 | python --version | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -539,7 +539,8 @@ def execute(self, command, | |||
| 539 | 539 | cmd_not_found_exception = OSError | |
| 540 | 540 | # end handle | |
| 541 | 541 | ||
| 542 | - log.debug("Popen(%s, cwd=%s, universal_newlines=%s", command, cwd, universal_newlines) | ||
| 542 | + log.debug("Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)", | ||
| 543 | + command, cwd, universal_newlines, shell) | ||
| 543 | 544 | try: | |
| 544 | 545 | proc = Popen(command, | |
| 545 | 546 | env=env, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -899,8 +899,12 @@ def _clone(cls, git, url, path, odb_default_type, progress, **kwargs): | |||
| 899 | 899 | try: | |
| 900 | 900 | proc = git.clone(url, path, with_extended_output=True, as_process=True, | |
| 901 | 901 | v=True, **add_progress(kwargs, git, progress)) | |
| 902 | - progress_handler = progress and progress.new_message_handler() or None | ||
| 903 | - handle_process_output(proc, None, progress_handler, finalize_process) | ||
| 902 | + if progress: | ||
| 903 | + handle_process_output(proc, None, progress.new_message_handler(), finalize_process) | ||
| 904 | + else: | ||
| 905 | + (stdout, stderr) = proc.communicate() # FIXME: Will block of outputs are big! | ||
| 906 | + finalize_process(proc, stderr=stderr) | ||
| 907 | + # end handle progress | ||
| 904 | 908 | finally: | |
| 905 | 909 | if prev_cwd is not None: | |
| 906 | 910 | os.chdir(prev_cwd) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments