1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tools
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
..
templates Actually stopping server 2015-05-24 16:59:23 +01:00
__init__.py move tools in pelican.tools and add the pelican.tools package to setup.py 2012-03-16 18:53:08 +00:00
pelican_import.py Fix calculation of tag count in dotclear import 2015-08-19 12:28:14 -04:00
pelican_quickstart.py Allow --path even when using a virtualenv project 2015-04-23 13:30:24 -05:00
pelican_themes.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00