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

        self.filename = filename

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

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