aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwiki6
1 files changed, 1 insertions, 5 deletions
diff --git a/wiki b/wiki
index b629903..d0986c3 100755
--- a/wiki
+++ b/wiki
@@ -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: