<commit_before>#!/usr/bin/python3.4
# -*-coding:Utf-8 -*
'''module to manage blender file info'''
import xml.etree.ElementTree as xmlMod
import os

class FileInfo:
	'''class to manage blender file info'''
	
	
	def __init__(self, xml):
		'''initialize blender file info with default settings or saved settings'''
		self.fromXml(xml)
	
	
	
	
	
	def fromXml(self, xml):
		'''initialize blender file info with savedd settings'''
		xml = '<fileInfo>'
		
		for scene in self.scenes:
			xml += scene.toXml()
		
		xml += '</fileInfo>'
		return xml
	
	
	
	
	
	def toXml(self):
		'''export blender file info into xml syntaxed string'''
		
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<commit_msg>move code to the right method<commit_after>#!/usr/bin/python3.4
# -*-coding:Utf-8 -*
'''module to manage blender file info'''
import xml.etree.ElementTree as xmlMod
import os

class FileInfo:
	'''class to manage blender file info'''
	
	
	def __init__(self, xml):
		'''initialize blender file info with default settings or saved settings'''
		self.fromXml(xml)
	
	
	
	
	
	def fromXml(self, xml):
		'''initialize blender file info with savedd settings'''
		
	
	
	
	
	
	def toXml(self):
		'''export blender file info into xml syntaxed string'''
		xml = '<fileInfo>'
		
		for scene in self.scenes:
			xml += scene.toXml()
		
		xml += '</fileInfo>'
		return xml
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
{'fraction_non_alphanumeric': 0.12205882352941176, 'fraction_numerical': 0.004411764705882353, 'mean_word_length': 2.8230337078651684, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 20}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3685931', 'n_tokens_mistral': 538, 'n_tokens_neox': 423, 'n_words': 141}