diff options
author | Sun Lihong <lihongx.sun@intel.com> | 2014-04-30 15:01:31 +0800 |
---|---|---|
committer | admin <yuhuan.yang@samsung.com> | 2016-02-04 17:42:23 +0800 |
commit | 6910db02754067dda118bd3b7141e4d1872a08e6 (patch) | |
tree | 8facc6d21e9e04d255583b3ba281287790d680db /tools | |
parent | c5d97fc06c52df3313f046c0fd71a7351b40025a (diff) | |
download | mic-6910db02754067dda118bd3b7141e4d1872a08e6.tar.gz mic-6910db02754067dda118bd3b7141e4d1872a08e6.tar.bz2 mic-6910db02754067dda118bd3b7141e4d1872a08e6.zip |
Pylint warnings.
C:139,8:Zypp._zyppQueryPackage: Comma not followed by a space
query.addAttribute(zypp.SolvAttr.name,pkg)
^^
C:146,8:Zypp._splitPkgString: Comma not followed by a space
sp = pkg.rsplit(".",1)
^^
C:213,12:Zypp.selectPackage: Comma not followed by a space
q.addAttribute(zypp.SolvAttr.name,pattern)
^^
C:217,12:Zypp.selectPackage: Comma not followed by a space
q.addAttribute(zypp.SolvAttr.name,name)
^^
C:221,12:Zypp.selectPackage: Comma not followed by a space
q.addAttribute(zypp.SolvAttr.name,pkg)
^^
W: 19,0: Unused import sys
W: 35,0: Unused import BaseImageCreator
W: 20,0: Unused import re
Change-Id: Ie6bdff4de495e93b0dd534c276cb77d5270db114
Conflicts:
plugins/imager/raw_plugin.py
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mic | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -109,8 +109,8 @@ class MicCmd(cmdln.Cmdln): @cmdln.alias("cv") @cmdln.option("-S", "--shell", - action="store_true", dest="shell", default=False, - help="Launch shell before packaging the converted image") + action = "store_true", dest = "shell", default = False, + help = "Launch shell before packaging the converted image") def do_convert(self, subcmd, opts, *args): """${cmd_name}: convert image format @@ -180,8 +180,8 @@ class MicCmd(cmdln.Cmdln): @cmdln.alias("ch") @cmdln.option('-s', '--saveto', - action='store', dest='saveto', default=None, - help="Save the unpacked image to specified dir") + action = 'store', dest = 'saveto', default = None, + help = "Save the unpacked image to specified dir") @optparser_setup def do_chroot(self, subcmd, opts, *args): """${cmd_name}: chroot into an image |