Rewrite SafeURL class without using zypp.Url
authorHuang Hao <hao.h.huang@intel.com>
Tue, 31 Dec 2013 04:19:53 +0000 (12:19 +0800)
committerHuang Hao <hao.h.huang@intel.com>
Thu, 2 Jan 2014 04:55:39 +0000 (12:55 +0800)
commit5cfa0640166b7123619ad641a0771e8a6e127f56
tree1a8acef5144f2d90099b835c27b5e8c7cda0ccae
parentdbbd319f84142555e52ce881ba6640fa119d55a8
Rewrite SafeURL class without using zypp.Url

Since SafeURL implementation depends on lib zypp which provided
by python-zypp package. This package will not be installed when
only install "mic" package instead of "mic-native". Then import
zypp will raise exception of "No module named _zypp".

Change-Id: If8232b0ee77166eadc04f016cd2cda722c7ff23e
Fixed: 1568
mic/utils/safeurl.py
plugins/backend/zypppkgmgr.py