Skip to content

Commit

Permalink
Fixing a couple print statements to be compatible with python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaltotun committed May 11, 2016
1 parent b2d11e2 commit ec8daca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conans/server/rest/multipart_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ def read_in_chunks(file_object, chunk_size=1024):
for tmp in iter(get_response_chunk(paths)):
allt += tmp

print allt
print(allt)
5 changes: 3 additions & 2 deletions pyinstaller.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import print_function
import os
import platform
import subprocess
Expand Down Expand Up @@ -30,11 +31,11 @@ def pyinstall(source_folder):
try:
shutil.rmtree(os.path.join(pyinstaller_path, 'conan'))
except Exception as e:
print "Unable to remove old folder", e
print("Unable to remove old folder", e)
try:
shutil.rmtree(os.path.join(pyinstaller_path, 'conan_server'))
except Exception as e:
print "Unable to remove old server folder", e
print("Unable to remove old server folder", e)

conan_path = os.path.join(source_folder, 'conans', 'conan.py')
conan_server_path = os.path.join(source_folder, 'conans', 'conan_server.py')
Expand Down

0 comments on commit ec8daca

Please sign in to comment.