summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Hunner <treyhunner@gmail.com>2012-04-15 11:34:51 -0700
committerTrey Hunner <treyhunner@gmail.com>2012-04-15 11:34:51 -0700
commit461e0e9145ce15b93bc1d5f0a16a0303de66d66e (patch)
tree1db39359696b9b13ceab11ca98fcb66fc72f7cd9
parent61771a74bf22edacda207d18836fe1b5e64cbe1d (diff)
downloadpycco-461e0e9145ce15b93bc1d5f0a16a0303de66d66e.tar.gz
Remove unused code/comments
-rw-r--r--pycco/main.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/pycco/main.py b/pycco/main.py
index 39f62df..9eb73dd 100644
--- a/pycco/main.py
+++ b/pycco/main.py
@@ -47,8 +47,6 @@ def generate_documentation(source, outdir=None, preserve_paths=True):
if not outdir:
raise TypeError("Missing the required 'outdir' keyword argument.")
- print
- source.name
fh = open(source.name, "r")
sections = parse(source.name, fh.read())
highlight(source.name, sections, preserve_paths=preserve_paths, outdir=outdir)
@@ -395,10 +393,6 @@ def process(sources, preserve_paths=True, outdir=None):
if not outdir:
raise TypeError("Missing the required 'outdir' keyword argument.")
- # Make a copy of sources given on the command line. `main()` needs the
- # original list when monitoring for changed files.
- #? sources = sorted(sources)
-
# Proceed to generating the documentation.
if sources:
ensure_directory(outdir)