Commit 8839f26c10bf2d6e286cdae505ba91c18bebde3c

Authored by Thiago Franco de Moraes
1 parent 0229af60
Exists in master

Removed some debug prints

Showing 2 changed files with 0 additions and 5 deletions   Show diff stats
@@ -253,7 +253,6 @@ def parse_comand_line(): @@ -253,7 +253,6 @@ def parse_comand_line():
253 """ 253 """
254 session = ses.Session() 254 session = ses.Session()
255 255
256 - print ">>>> stdin encoding", sys.stdin.encoding  
257 256
258 # Parse command line arguments 257 # Parse command line arguments
259 parser = op.OptionParser() 258 parser = op.OptionParser()
invesalius/project.py
@@ -208,9 +208,6 @@ class Project(object): @@ -208,9 +208,6 @@ class Project(object):
208 filename_tmp = os.path.join(dir_temp, u'matrix.dat') 208 filename_tmp = os.path.join(dir_temp, u'matrix.dat')
209 filelist = {} 209 filelist = {}
210 210
211 - print type(dir_temp), type(filename)  
212 - print filename.encode('utf8'), dir_.encode('utf8'), type(filename), type(dir_)  
213 -  
214 project = { 211 project = {
215 # Format info 212 # Format info
216 "format_version": 1, 213 "format_version": 1,
@@ -351,7 +348,6 @@ def Compress(folder, filename, filelist): @@ -351,7 +348,6 @@ def Compress(folder, filename, filelist):
351 temp_inv3 = temp_inv3.decode(const.FS_ENCODE) 348 temp_inv3 = temp_inv3.decode(const.FS_ENCODE)
352 #os.chdir(tmpdir) 349 #os.chdir(tmpdir)
353 #file_list = glob.glob(os.path.join(tmpdir_,"*")) 350 #file_list = glob.glob(os.path.join(tmpdir_,"*"))
354 - print "Tar file", temp_inv3, type(temp_inv3), filename.encode('utf8'), type(filename)  
355 tar = tarfile.open(temp_inv3, "w:gz") 351 tar = tarfile.open(temp_inv3, "w:gz")
356 for name in filelist: 352 for name in filelist:
357 tar.add(name, arcname=os.path.join(tmpdir_, filelist[name])) 353 tar.add(name, arcname=os.path.join(tmpdir_, filelist[name]))