Navigation Menu

Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 24, 2017
1 parent 62b7ff2 commit c971342
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions CHANGES.txt
@@ -1,11 +1,6 @@
New in master
=============

Deletions
---------

* Removed old 7-line metadata format (Issue #2839)

Features
--------

Expand Down Expand Up @@ -34,6 +29,7 @@ Removed features
* Drop annotations support (annotateit.org closed down in March 2017)
* Remove taxonomy option ``also_create_classifications_from_other_languages``
(Issue #2785)
* Removed old 7-line metadata format (Issue #2839)

New in v7.8.8
=============
Expand Down
2 changes: 0 additions & 2 deletions nikola/post.py
Expand Up @@ -80,7 +80,6 @@
__all__ = ('Post',)

TEASER_REGEXP = re.compile('<!--\s*TEASER_END(:(.+))?\s*-->', re.IGNORECASE)
_UPGRADE_METADATA_ADVERTISED = False


class Post(object):
Expand Down Expand Up @@ -1051,7 +1050,6 @@ def _get_metadata_from_file(meta_data, config=None):

def get_metadata_from_meta_file(path, config=None, lang=None):
"""Take a post path, and gets data from a matching .meta file."""
global _UPGRADE_METADATA_ADVERTISED
meta_path = os.path.splitext(path)[0] + '.meta'
if lang and config:
meta_path = get_translation_candidate(config, meta_path, lang)
Expand Down

0 comments on commit c971342

Please sign in to comment.