
__version_info__ = {
    'major': 0,
    'minor': 5,
    'micro': 2,
    'releaselevel': 'final',
}

def get_version():
    """
    Return the formatted version information
    """
    vers = ["%(major)i.%(minor)i" % __version_info__, ]
    
    if __version_info__['micro']:
        vers.append(".%(micro)i" % __version_info__)
    if __version_info__['releaselevel'] != 'final':
        vers.append('%(releaselevel)s' % __version_info__)
    return ''.join(vers)

__version__ = get_version()


__version__ = '0.6.0dev'

Simplify version string and update to reflect current status.
Simplify version string and update to reflect current status.

  
+ __version__ = '0.6.0dev'
- __version_info__ = {
-     'major': 0,
-     'minor': 5,
-     'micro': 2,
-     'releaselevel': 'final',
- }
  
- def get_version():
-     """
-     Return the formatted version information
-     """
-     vers = ["%(major)i.%(minor)i" % __version_info__, ]
-     
-     if __version_info__['micro']:
-         vers.append(".%(micro)i" % __version_info__)
-     if __version_info__['releaselevel'] != 'final':
-         vers.append('%(releaselevel)s' % __version_info__)
-     return ''.join(vers)
- 
- __version__ = get_version()
- 
Simplify version string and update to reflect current status.
## Code Before:

__version_info__ = {
    'major': 0,
    'minor': 5,
    'micro': 2,
    'releaselevel': 'final',
}

def get_version():
    """
    Return the formatted version information
    """
    vers = ["%(major)i.%(minor)i" % __version_info__, ]
    
    if __version_info__['micro']:
        vers.append(".%(micro)i" % __version_info__)
    if __version_info__['releaselevel'] != 'final':
        vers.append('%(releaselevel)s' % __version_info__)
    return ''.join(vers)

__version__ = get_version()

## Instruction:
Simplify version string and update to reflect current status.
## Code After:

__version__ = '0.6.0dev'
