Skip to content

Commit

Permalink
Fixing code indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamu committed Apr 18, 2016
1 parent b72d9ac commit 3c0eceb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ def read(*parts):
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()

try:
from pypandoc import convert
read_md = lambda f: convert(f, "rst").replace("\r","")
except (ImportError, IOError):
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: read(f)
try:
from pypandoc import convert
read_md = lambda f: convert(f, "rst").replace("\r","")
except (ImportError, IOError):
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: read(f)


setup(
Expand Down

0 comments on commit 3c0eceb

Please sign in to comment.