Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getnikola/nikola
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 69393a616f07
Choose a base ref
...
head repository: getnikola/nikola
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c5040578a745
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 13, 2015

  1. Added note on changes.

    felixfontein committed Jul 13, 2015
    Copy the full SHA
    1bd6295 View commit details
  2. Fixed warning.

    felixfontein committed Jul 13, 2015
    Copy the full SHA
    c504057 View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 CHANGES.txt
  2. +1 −1 nikola/plugins/command/import_wordpress.py
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ Features
converting posts to markdown with --use-wordpress-compiler
* Allowing to automatically install the WordPress page compiler when
needed with --install-wordpress-compiler
* Exporting information on attachments per post as JSON
* Exporting information on attachments per post as JSON (#1867 and #1888)
* Exporting post status and excerpt
* New ‘pagekind’ variable available to identify different kind of pages from theme templates
* Add ``--no-server`` option to ``nikola auto`` (Issue #1883)
2 changes: 1 addition & 1 deletion nikola/plugins/command/import_wordpress.py
Original file line number Diff line number Diff line change
@@ -948,7 +948,7 @@ def import_posts(self, channel):
# Assign attachments to posts
for post_id in self.attachments:
LOGGER.warn(("Found attachments for post or page #{0}, but didn't find post or page. " +
"(Attachments: {1})").format(post_id, [e[0] for _, e in self.attachments[post_id].items()]))
"(Attachments: {1})").format(post_id, [e['files'][0] for e in self.attachments[post_id].values()]))


def get_text_tag(tag, name, default):