~wallyworld/lazr-js/picker-entry-extra-title-links

« back to all changes in this revision

Viewing changes to src-py/lazr/js/meta.py

  • Committer: Ian Booth
  • Date: 2011-06-03 07:26:26 UTC
  • Revision ID: ian.booth@canonical.com-20110603072626-57ozs3zmq9naiph6
Fix bad import

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
import simplejson
8
8
 
9
 
from lazr.js.build import SRC_DIR
 
9
from lazr.js.build import DEFAULT_SRC_DIR
10
10
 
11
11
 
12
12
DETAILS_RE = re.compile(
32
32
 
33
33
class Builder:
34
34
 
35
 
    def __init__(self, name, src_dir=SRC_DIR, output=None,
 
35
    def __init__(self, name, src_dir=DEFAULT_SRC_DIR, output=None,
36
36
                 prefix="", exclude_regex=None, ext=True, include_skin=True):
37
37
        """Create a new Builder.
38
38
 
319
319
        '-p', '--prefix', dest='prefix',
320
320
        help=('A prefix to be added to the relative path.'))
321
321
    parser.add_option(
322
 
        '-s', '--srcdir', dest='src_dir', default=SRC_DIR,
 
322
        '-s', '--srcdir', dest='src_dir', default=DEFAULT_SRC_DIR,
323
323
        help=('The directory containing the src files.'))
324
324
    parser.add_option(
325
325
        '-e', '--ext', dest='ext', default=False,