Skip to content

Commit 0e0eb19

Browse files
Jinlingarryyan
authored andcommitted
fix python3 error
1 parent f8183f7 commit 0e0eb19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mars/libraries/build_android.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def main():
248248
shutil.rmtree(SO_CACHE_DIR)
249249

250250
for i in range(0, len(archs)):
251-
print "build %s" %(archs[i])
251+
print ("build %s" %(archs[i]))
252252

253253
arch = archs[i]
254254

mars/libraries/mars_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def parse_as_git():
110110

111111
def gen_revision_file(save_path, tag):
112112
now_path = os.path.dirname(os.path.abspath(__file__))
113-
print now_path
113+
print (now_path)
114114

115115
# TRY AS SVN
116116
revision, path, url = parse_as_svn()
@@ -162,7 +162,7 @@ def gen_revision_file(save_path, tag):
162162

163163
output += html
164164

165-
print ''.join(output.splitlines())
165+
print (''.join(output.splitlines()))
166166

167167
def get_revision(path):
168168

0 commit comments

Comments
 (0)