Permalink
Browse files

renaming gpolocator to uscode

  • Loading branch information...
1 parent aa11d27 commit 8c4b7bd42f6b6c7af36c868d04b1e25b3655a991 @konklone konklone committed Sep 26, 2012
View
@@ -1,3 +1,3 @@
/virt
/data
-*.pyc
+*.pyc
View
@@ -5,7 +5,7 @@
import subprocess
from logbook import Logger
-from gpolocator import File
+from uscode import File
import utils
View
@@ -4,11 +4,11 @@
from os.path import join
import subprocess
-import fson
-from gpolocator.parser import getlines
-from gpolocator.grouper import group
-from gpolocator.structure import GPOLocatorParser
+from uscode.parser import getlines
+from uscode.grouper import group
+from uscode.structure import GPOLocatorParser
import utils
+import fson
def run(options):
argv = options["argv"]
View
@@ -1,5 +1,13 @@
import utils
from utils import log
+import uscode
+
def run(options):
- utils.log("hey.")
+ title = options.get('title', None)
+ section = options.get('section', None)
+
+ if not title or not section:
+ utils.log("Supply a 'title' and 'section' argument to parse a title.")
+
+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -17,7 +17,7 @@
able to tokenize the statute text into distinct subsections/paragraphs
before you can reassemble them into a hierarchy.
-Because the ASCCI and XHTML files were both formatted for printing in bound
+Because the ASCII and XHTML files were both formatted for printing in bound
volumes, they dedent paragraphs/subsections when the level of nesting gets
high enough to squish the text too close to the right margin of the page.
Because the text of the US Code (and most other statutes and regs) is littered
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8c4b7bd

Please sign in to comment.