
__version_info__ = (1, 0, 2)
__version__ = '1.0.1'
__author__ = "Trent Mick"


def markdown(text, style="default"):
    if not text:
        return ""
    import markdown2
    print "XXX markdown_deux.markdown(style=%r) -> %r" % (style, get_style(style))
    
    return markdown2.markdown(text, **get_style(style))

def get_style(style):
    from markdown_deux.conf import settings
    try:
        return settings.MARKDOWN_DEUX_STYLES[style]
    except KeyError:
        return settings.MARKDOWN_DEUX_STYLES.get("default",
            settings.MARKDOWN_DEUX_DEFAULT_STYLE)


__version_info__ = (1, 0, 2)
__version__ = '.'.join(map(str, __version_info__))
__author__ = "Trent Mick"


def markdown(text, style="default"):
    if not text:
        return ""
    import markdown2
    return markdown2.markdown(text, **get_style(style))

def get_style(style):
    from markdown_deux.conf import settings
    try:
        return settings.MARKDOWN_DEUX_STYLES[style]
    except KeyError:
        return settings.MARKDOWN_DEUX_STYLES.get("default",
            settings.MARKDOWN_DEUX_DEFAULT_STYLE)

Fix having ver info written twice (divergence). Makes "mk cut_a_release" ver update work.
Fix having ver info written twice (divergence). Makes "mk cut_a_release" ver update work.

  
  __version_info__ = (1, 0, 2)
- __version__ = '1.0.1'
+ __version__ = '.'.join(map(str, __version_info__))
  __author__ = "Trent Mick"
  
  
  def markdown(text, style="default"):
      if not text:
          return ""
      import markdown2
-     print "XXX markdown_deux.markdown(style=%r) -> %r" % (style, get_style(style))
-     
      return markdown2.markdown(text, **get_style(style))
  
  def get_style(style):
      from markdown_deux.conf import settings
      try:
          return settings.MARKDOWN_DEUX_STYLES[style]
      except KeyError:
          return settings.MARKDOWN_DEUX_STYLES.get("default",
              settings.MARKDOWN_DEUX_DEFAULT_STYLE)
  
Fix having ver info written twice (divergence). Makes "mk cut_a_release" ver update work.
## Code Before:

__version_info__ = (1, 0, 2)
__version__ = '1.0.1'
__author__ = "Trent Mick"


def markdown(text, style="default"):
    if not text:
        return ""
    import markdown2
    print "XXX markdown_deux.markdown(style=%r) -> %r" % (style, get_style(style))
    
    return markdown2.markdown(text, **get_style(style))

def get_style(style):
    from markdown_deux.conf import settings
    try:
        return settings.MARKDOWN_DEUX_STYLES[style]
    except KeyError:
        return settings.MARKDOWN_DEUX_STYLES.get("default",
            settings.MARKDOWN_DEUX_DEFAULT_STYLE)

## Instruction:
Fix having ver info written twice (divergence). Makes "mk cut_a_release" ver update work.
## Code After:

__version_info__ = (1, 0, 2)
__version__ = '.'.join(map(str, __version_info__))
__author__ = "Trent Mick"


def markdown(text, style="default"):
    if not text:
        return ""
    import markdown2
    return markdown2.markdown(text, **get_style(style))

def get_style(style):
    from markdown_deux.conf import settings
    try:
        return settings.MARKDOWN_DEUX_STYLES[style]
    except KeyError:
        return settings.MARKDOWN_DEUX_STYLES.get("default",
            settings.MARKDOWN_DEUX_DEFAULT_STYLE)
