Skip to content

Commit 8da9225

Browse files
author
cclauss
authored
Define print() function for Python 3
1 parent 0648ba1 commit 8da9225

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/sc2store.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ def main():
172172

173173
for path in args.paths:
174174
for file_name in sc2reader.utils.get_files(path, depth=0):
175-
print "CREATING: {0}".format(file_name)
175+
print("CREATING: {0}".format(file_name))
176176
db.add(Game(sc2reader.read_file(file_name), db))
177177

178178
db.commit()
179179

180-
print list(db.query(distinct(Person.name)).all())
180+
print(list(db.query(distinct(Person.name)).all()))
181181

182182
#for row in db.query(distinct(Person.name)).all():
183-
# print row
183+
# print(row)
184184

185185

186186
def load_session(args):

0 commit comments

Comments
 (0)