def standard_read_self():
    test_data = []
    fd = open(__file__, "r")
    for line in fd:
        test_data.append(line)
    fd.close()
    return test_data
def standard_read_self():
    test_data = []
    fd = open(__file__, "r")
    for line in fd:
        test_data.append(line)
    fd.close()
    return test_data
Beispiel #3
0
 def close(self):
     self._write()
     fd = getattr(self, 'frd')
     if fd:
         fd.close()
     fd = getattr(self, 'fwr')
     if fd:
         fd.close()
Beispiel #4
0
 def close(self):
     self._write()
     fd = getattr(self, 'frd')
     if fd:
         fd.close()
     fd = getattr(self, 'fwr')
     if fd:
         fd.close()