Skip to content

Commit

Permalink
Argparse for older python. Fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
jmnybl committed Oct 8, 2014
1 parent 6ba6034 commit 9f5baed
Show file tree
Hide file tree
Showing 6 changed files with 2,378 additions and 4 deletions.
5 changes: 4 additions & 1 deletion add_comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import codecs
import json
import os.path
import argparse
try:
import argparse
except ImportError:
import compat.argparse as argparse

def print_sent(sent,comments):
if comments:
Expand Down
Empty file added compat/__init__.py
Empty file.
Loading

0 comments on commit 9f5baed

Please sign in to comment.