old_contents: # Copyright 2013 Mathias WOLFF
  # This file is part of pyfreebilling.
  #
  # pyfreebilling is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # pyfreebilling is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with pyfreebilling.  If not, see <http://www.gnu.org/licenses/>
  #
  # Initial code from tarak : https://github.com/tarak/django-password-policies
  # Modified by Mathias WOLFF
  
  from django.utils.version import get_git_changeset
  
  
  VERSION = (1, 8, 0, 'alpha', 0)
  
  
  def get_version(version=None):
      """Derives a PEP386-compliant version number from VERSION."""
      if version is None:
          version = VERSION
      assert len(version) == 5
      assert version[3] in ('alpha', 'beta', 'rc', 'final')
  
      # Now build the two parts of the version number:
      # main = X.Y[.Z]
      # sub = .devN - for pre-alpha releases
      # | {a|b|c}N - for alpha, beta and rc releases
  
      parts = 2 if version[2] == 0 else 3
      main = '.'.join(str(x) for x in version[:parts])
  
      sub = ''
      if version[3] == 'alpha' and version[4] == 0:
          # At the toplevel, this would cause an import loop.
          git_changeset = get_git_changeset()
          if git_changeset != 'unknown':
              sub = '.dev%s' % git_changeset
  
      elif version[3] != 'final':
          mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'c'}
          sub = mapping[version[3]] + str(version[4])
  
      return main + sub
  
  
  __version__ = get_version()
  
new_contents: # Copyright 2013 Mathias WOLFF
  # This file is part of pyfreebilling.
  #
  # pyfreebilling is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # pyfreebilling is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with pyfreebilling.  If not, see <http://www.gnu.org/licenses/>
  #
  # Initial code from tarak : https://github.com/tarak/django-password-policies
  # Modified by Mathias WOLFF
  
  from django.utils.version import get_git_changeset
  
  
  VERSION = (2, 0, 0, 'beta', 0)
  
  
  def get_version(version=None):
      """Derives a PEP386-compliant version number from VERSION."""
      if version is None:
          version = VERSION
      assert len(version) == 5
      assert version[3] in ('alpha', 'beta', 'rc', 'final')
  
      # Now build the two parts of the version number:
      # main = X.Y[.Z]
      # sub = .devN - for pre-alpha releases
      # | {a|b|c}N - for alpha, beta and rc releases
  
      parts = 2 if version[2] == 0 else 3
      main = '.'.join(str(x) for x in version[:parts])
  
      sub = ''
      if version[3] == 'alpha' and version[4] == 0:
          # At the toplevel, this would cause an import loop.
          git_changeset = get_git_changeset()
          if git_changeset != 'unknown':
              sub = '.dev%s' % git_changeset
  
      elif version[3] != 'final':
          mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'c'}
          sub = mapping[version[3]] + str(version[4])
  
      return main + sub
  
  
  __version__ = get_version()
  
subject: correct version number