1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Julien Vehent 9d57dcf020 Fix calculation of tag count in dotclear import
Upon import of a dotclear backup, `pelican-import` returned this stacktrace:

```
  File "/usr/bin/pelican-import", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3.4/site-packages/pelican/tools/pelican_import.py", line 809, in main
    attachments = attachments or None)
  File "/usr/lib/python3.4/site-packages/pelican/tools/pelican_import.py", line 621, in fields2pelican
    kind, in_markup) in fields:
  File "/usr/lib/python3.4/site-packages/pelican/tools/pelican_import.py", line 262, in dc2fields
    if int(tag[:1]) == 1:
ValueError: invalid literal for int() with base 10: 'a'
```
2015-08-19 12:28:14 -04:00
..
tests Merge pull request #1788 from andreacorbellini/truncate-with-html-parser 2015-08-15 08:21:28 -07:00
themes Correct render of article description meta 2015-08-11 20:03:43 +01:00
tools Fix calculation of tag count in dotclear import 2015-08-19 12:28:14 -04:00
__init__.py Prepare version 3.6.4.dev0 for next development cycle 2015-08-14 17:24:29 -07:00
cache.py fix caching 2015-06-08 09:34:30 +02:00
contents.py add warning for unknown replacement indicators 2015-08-08 14:40:51 +02:00
generators.py remove PAGES; use pages instead 2015-06-27 19:11:55 +02:00
log.py Fix exception logging 2015-06-03 17:07:38 -04:00
paginator.py Fix Pelican rendering and unit tests on Windows. 2015-01-25 17:42:53 -08:00
readers.py Merge pull request #1747 from ingwinlu/fix_cache 2015-06-09 08:42:51 -07:00
rstdirectives.py Fix bug with custom reST :abbr: role. Fixes #949 2014-10-16 07:09:20 -07:00
server.py Make pelican.server importable and use it in fab serve 2015-04-03 18:58:52 -04:00
settings.py Fix #1647: Fix ARTICLE_ORDER_BY and add the ability to reverse order 2015-06-12 18:14:54 -04:00
signals.py Merge pull request #1471 from roidelapluie/master 2015-05-06 13:13:48 +02:00
urlwrappers.py improve URLWrapper comparison 2015-06-27 19:13:50 +02:00
utils.py Rewrite pelican.utils.truncate_html_words() to use an HTML parser instead of regular expressions. 2015-07-30 21:04:28 +02:00
writers.py Remove a couple of unused imports 2015-03-13 23:01:31 -07:00