Skip to content

Commit

Permalink
🐍 Adds basic Python 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Jan 25, 2019
1 parent 8ad43dc commit a5bb5e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion git-blast
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ merged:
another-feature 4 months ago
"""

from __future__ import print_function

import os
import argparse
import subprocess as sp
Expand Down Expand Up @@ -99,7 +101,7 @@ def main(args):
print(output)

if args.n and len(lines) >= args.n:
print "(... and %s more ...)" %(len(lines) - args.n)
print("(... and %s more ...)" %(len(lines) - args.n))


if __name__ == "__main__":
Expand Down

0 comments on commit a5bb5e7

Please sign in to comment.