Improve package.py by adding other package utility functions:
package_type - returns the package type of a file
package_version - returns a version string for a package file

The introduction of package_type simplified the code of the other
functions, making them easier to read and cleaner. 

Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@947 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed