Esempio n. 1
0
	def __init__(self, filename):
		SafeConfigParser.__init__(self)
		
		self.filename = filename
		
		self.path = "/etc/bluetooth/%s" % filename
		
		self.read(self.path)
Esempio n. 2
0
    def __init__(self, filename):
        SafeConfigParser.__init__(self)

        self.filename = filename

        self.path = "/etc/bluetooth/%s" % filename

        self.read(self.path)
Esempio n. 3
0
	def write(self):
		f = open(self.path, "wb")
		SafeConfigParser.write(self, f)
Esempio n. 4
0
 def write(self):
     f = open(self.path, "wb")
     SafeConfigParser.write(self, f)