1
0
Fork 0
forked from github/pelican
Commit graph

8 commits

Author SHA1 Message Date
Dirk Makowski
71995d5e1b Port pelican to python 3.
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
solsTiCe d'Hiver
a0d2d34466 shutil.copytree seems to throw OSError exception too
So revert to previous Exception handling
2012-07-09 20:08:20 +02:00
solsTiCe d'Hiver
842817f110 Revert "Use logging module instead of err function"
This reverts commit 4acbbb8d0f.

I don't know how to use logging/logger

This throws:
No handlers could be found for logger "pelican.tools.pelican_themes"
2012-07-09 20:05:21 +02:00
solsTiCe d'Hiver
4acbbb8d0f Use logging module instead of err function 2012-07-09 19:48:53 +02:00
solsTiCe d'Hiver
10e668a87c Fix issue #175
Force world-readable permission on files and directory of the
themes installed by pelican-themes.
Only on posix system i.e. mostly non Windows

Rationale:
If the theme's files have only -rw------- permissions, once installed
 system wide and owned by root, they will not be accessible to any user but only
root.
2012-07-09 19:39:34 +02:00
Ian Cordasco
707536725d Failed to commit some important changes. 2012-06-25 11:43:12 -04:00
Ian Cordasco
387e5c1ab9 Add upgrade ability to pelican-themes. Fix typos.
I disliked having to do:

$ pelican-theme -r <theme-name> -i <theme-path>

So I modified install() to handle an upgrade of an existing theme. While doing
so, I noticed that in install() and symlink() the script would error with 'no a
directory' instead of 'not a directory'. So I fixed that for you as well.
2012-06-25 08:57:09 -04:00
Andrea Crotti
4e4af9d011 move tools in pelican.tools and add the pelican.tools package to setup.py 2012-03-16 18:53:08 +00:00
Renamed from tools/pelican_themes.py (Browse further)