Skip to content

Commit

Permalink
flake8.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed May 29, 2015
1 parent 5a47739 commit 38025fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/status.py
Expand Up @@ -101,7 +101,7 @@ def _execute(self, options, args):

# find all scheduled posts with offset from now until publishing time
posts_scheduled = [(post.date - now, post) for post in self.site.all_posts if post.publish_later]
posts_scheduled = sorted(posts_scheduled, key=lambda offset_post: (offset_post[0],offset_post[1].source_path))
posts_scheduled = sorted(posts_scheduled, key=lambda offset_post: (offset_post[0], offset_post[1].source_path))

if len(posts_scheduled) > 0:
if options['list_scheduled']:
Expand Down

0 comments on commit 38025fa

Please sign in to comment.