comparison paint/package.py @ 81:4446cba4cee6

update CommandParser and docstring for it
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 28 Jan 2013 19:57:30 -0800
parents ab0620d3755b
children 7f442f585580
comparison
equal deleted inserted replaced
80:758a3e56a738 81:4446cba4cee6
20 20
21 __all__ = ['Package'] 21 __all__ = ['Package']
22 22
23 class Package(object): 23 class Package(object):
24 """ 24 """
25 class for python package introspection. 25 python package introspection.
26 constructor takes the package 'src' 26 invoked with the package source, 'src'
27 """ 27 """
28 28
29 def __init__(self, src, verbose=True): 29 def __init__(self, src, verbose=True):
30 """ 30 """
31 - src : URL or filesystem path to the package 31 - src : URL or filesystem path to the package
32 - verbose : show verbose output
32 """ 33 """
33 self.src = src 34 self.src = src
34 self.verbose = verbose 35 self.verbose = verbose
35 36
36 # ephemeral data 37 # ephemeral data