1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Jerry Asher f8031203d2 Python's shutil.copy2 fails on Android
Python's shutil.copy2 fails on Android when copying a file's meta data (perm bits, access times) onto certain filesystems. This is documented as python issue28141 https://bugs.python.org/issue28141

These commits workaround that bug by

+ creating a new function copy_file_metadata in utils.py
+ wrapping calls to copy2 in a try/except clause that logs any errors that occur but keep execution going
+ changing the calls to shutil.copy2 to calls to the new function
2016-10-07 11:10:09 -07:00
..
tests Merge pull request #1306 from Scheirle/master 2016-10-04 10:49:02 -06:00
themes Upgrade legacy GA tracking code. 2016-09-21 18:05:04 +02:00
tools Merge pull request #1923 from Jangsea/use_ghp_import_push_option 2016-04-03 18:51:23 -07:00
__init__.py Fixes #1966: Track default settings file for changes in autoreload mode 2016-09-16 10:56:20 -04:00
cache.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
contents.py More granular control of tags and categories slugs. Fixes #1873 2016-04-01 23:00:08 +03:00
generators.py Python's shutil.copy2 fails on Android 2016-10-07 11:10:09 -07:00
log.py Don't suppress LOG_FILTER messages when --debug passed 2016-09-23 02:13:23 +03:00
paginator.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
readers.py Merge pull request #2015 from jpli/improve_path_metadata_processing 2016-10-06 11:30:27 -06:00
rstdirectives.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
server.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
settings.py fixing issue with one-element tuple 2016-05-04 20:28:03 +02:00
signals.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
urlwrappers.py Add AUTHOR_SUBSTITUTIONS 2016-04-01 23:01:57 +03:00
utils.py Python's shutil.copy2 fails on Android 2016-10-07 11:10:09 -07:00
writers.py Simplified feed id generation and added support for url fragments 2016-09-25 10:54:20 +02:00