aboutsummaryrefslogtreecommitdiff
path: root/scripts/translate-handles.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-04-29 19:13:02 +0000
committerRob Austein <sra@hactrn.net>2010-04-29 19:13:02 +0000
commit32da413c226a08c9b6ecadb7066c3299636317a8 (patch)
tree3ea0ae63f4269911405be043e41c3fdc84468f26 /scripts/translate-handles.py
parente538fe26cd6479e37e44f4ff3f3e8d4b1c72e2bf (diff)
D'oh, CSV handles are not callable objects
svn path=/scripts/translate-handles.py; revision=3226
Diffstat (limited to 'scripts/translate-handles.py')
-rw-r--r--scripts/translate-handles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/translate-handles.py b/scripts/translate-handles.py
index f23c8da0..42be9eb8 100644
--- a/scripts/translate-handles.py
+++ b/scripts/translate-handles.py
@@ -43,7 +43,7 @@ for filename in sys.argv[1:]:
for cols in rpki.myrpki.csv_reader(filename):
if cols[0] in translations:
cols[0] = translations[cols[0]]
- csvout(cols)
+ csvout.writerow(cols)
del csvout
os.rename(tmpfile, filename)