aboutsummaryrefslogtreecommitdiff
path: root/rpki/csv_utils.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-07-07 23:13:35 +0000
committerRob Austein <sra@hactrn.net>2014-07-07 23:13:35 +0000
commit13a65b463cd0acedd3bc36c9437d5ee8b2e26b60 (patch)
treed129b276d8e77591943d03f1995ac76c3eb6d5f8 /rpki/csv_utils.py
parentbfba2f0ce8f8416b9e5f91542068d0d6470bc19f (diff)
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
Diffstat (limited to 'rpki/csv_utils.py')
-rw-r--r--rpki/csv_utils.py2
1 files changed, 2 insertions, 0 deletions
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)