1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00

minifix: use print() instead of print (#157) (#159)

This commit is contained in:
Igor Chubin 2019-09-06 14:12:01 +02:00
parent 485a82d0a4
commit d8ec06bd1f

View File

@ -10,6 +10,8 @@ Configuration parameters:
* path.log.fetch * path.log.fetch
""" """
from __future__ import print_function
import sys import sys
import logging import logging
import os import os
@ -60,7 +62,7 @@ def fetch_all(skip_existing=True):
sys.stdout.write("\nERROR:\n---\n" + output) sys.stdout.write("\nERROR:\n---\n" + output)
fatal("---\nCould not fetch %s" % adptr) fatal("---\nCould not fetch %s" % adptr)
else: else:
print "Done" print("Done")
# Searching for location duplicates for different repositories # Searching for location duplicates for different repositories
known_location = {} known_location = {}