diff options
author | Trey Hunner <treyhunner@gmail.com> | 2012-04-15 11:34:51 -0700 |
---|---|---|
committer | Trey Hunner <treyhunner@gmail.com> | 2012-04-15 11:34:51 -0700 |
commit | 461e0e9145ce15b93bc1d5f0a16a0303de66d66e (patch) | |
tree | 1db39359696b9b13ceab11ca98fcb66fc72f7cd9 | |
parent | 61771a74bf22edacda207d18836fe1b5e64cbe1d (diff) | |
download | pycco-461e0e9145ce15b93bc1d5f0a16a0303de66d66e.tar.gz |
Remove unused code/comments
-rw-r--r-- | pycco/main.py | 6 |
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) |