summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-12-09 13:18:07 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-12-09 13:18:07 (GMT)
commite20bff0dbf2172b93ffa535437affe6b8ebc6b09 (patch)
treeea3c8883641791429614a3fa8ee034567ff969cb
parente2c1aa795987aa39563ac3a30b3952fe4b664f90 (diff)
downloadtabellio.pcfdb-e20bff0dbf2172b93ffa535437affe6b8ebc6b09.zip
tabellio.pcfdb-e20bff0dbf2172b93ffa535437affe6b8ebc6b09.tar.gz
tabellio.pcfdb-e20bff0dbf2172b93ffa535437affe6b8ebc6b09.tar.bz2
ignore t_pershistoline where type is null (#14248)
-rw-r--r--tabellio/pcfdb/sync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index f43da91..5b64bdb 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -562,6 +562,8 @@ class SyncFromPcfDbView(BrowserView):
if row is None:
break
debut, fin, type, description, comppol = row
+ if not description:
+ continue
if type in ('P_FONC', 'M_FONC', 'M_PREM', 'P_COMM_SE'):
title = description
elif type == 'P_PARL':