Cleaner intermediate print during autoimport.
This commit is contained in:
		
							parent
							
								
									f1530860d2
								
							
						
					
					
						commit
						c535dc7f24
					
				|  | @ -106,7 +106,8 @@ class GuiAutoImport (threading.Thread): | ||||||
|         """Callback for timer to do an import iteration.""" |         """Callback for timer to do an import iteration.""" | ||||||
|         if self.doAutoImportBool: |         if self.doAutoImportBool: | ||||||
|             self.importer.runUpdated() |             self.importer.runUpdated() | ||||||
|             print "GuiAutoImport.import_dir done" |             sys.stdout.write(".") | ||||||
|  |             sys.stdout.flush() | ||||||
|             return True |             return True | ||||||
|         else: |         else: | ||||||
|             return False |             return False | ||||||
|  |  | ||||||
|  | @ -320,7 +320,7 @@ class Importer: | ||||||
|                             sys.exit(0) |                             sys.exit(0) | ||||||
|                 startpos=endpos |                 startpos=endpos | ||||||
|         ttime = time() - starttime |         ttime = time() - starttime | ||||||
|         print "Total stored:", stored, "duplicates:", duplicates, "partial:", partial, "errors:", errors, " time:", ttime |         print "\rTotal stored:", stored, "duplicates:", duplicates, "partial:", partial, "errors:", errors, " time:", ttime | ||||||
|          |          | ||||||
|         if stored==0: |         if stored==0: | ||||||
|             if duplicates>0: |             if duplicates>0: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user