From 13a65b463cd0acedd3bc36c9437d5ee8b2e26b60 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 7 Jul 2014 23:13:35 +0000 Subject: Checkpoint of SQL-based publish and withdraw processing. Doesn't handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887 --- rpki/csv_utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpki/csv_utils.py') diff --git a/rpki/csv_utils.py b/rpki/csv_utils.py index 9ba04a02..9034e96b 100644 --- a/rpki/csv_utils.py +++ b/rpki/csv_utils.py @@ -99,6 +99,7 @@ class csv_writer(object): """ Close this writer. """ + if self.file is not None: self.file.close() self.file = None @@ -109,4 +110,5 @@ class csv_writer(object): """ Fake inheritance from whatever object csv.writer deigns to give us. """ + return getattr(self.writer, attr) -- cgit v1.2.3