(self, *msg)
| 122 | df.close() |
| 123 | |
| 124 | def write(self, *msg): |
| 125 | df=open(self.outFile,'a') |
| 126 | for m in msg: |
| 127 | if type(m) is dict or type(m) is list: |
| 128 | df.write("%s\n" % pprint.pformat(m)) |
| 129 | else: |
| 130 | df.write("%s\n" % str(m)) |
| 131 | df.close() |
| 132 | |
| 133 | if __name__ == "__main__": |
| 134 | dc=dbCompare() |
no test coverage detected