diff options
| -rwxr-xr-x | wiki | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -319,11 +319,7 @@ def main(args): del lgit[val] elif docommit == True: commits = lgit.getlog(val) - if tostdout == True: - sys.stdout.write(commits) - else: - p = Popen(["less"], stdin=PIPE) - p.communicate(input=commits.encode("utf-8")) + sys.stdout.write(commits) elif dosearch == True: results = lgit.search(val) for r in results: |
