openknowledge-archive / dpm-old

**DEPRECATED** - see https://github.com/frictionlessdata/. [[Data package manager (dpm) is a command line tool and Python library for working with data packages - http://data.okfn.org/standards/data-package/]]
http://dpm.readthedocs.org/
15 stars 8 forks source link

Simplify info() function #22

Closed dgraziotin closed 12 years ago

dgraziotin commented 12 years ago

Actually, the function that returns information about a package (Metadata or Manifest) is so defined: def info(package_spec, request_for='metadata') request_for is ugly and misleading. Change it to def info(package_spec) And simply return both Manifest and Metadata in a tuple.

Update the tests and the documentation.