Tag 'rhnpush-5.5.52-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-08-24 16:33 +0000
Tagging package [rhnpush] version [5.5.52-1] in directory [client/tools/rhnpush/].
Changes since spacewalk-pylint-0.7-1:
Michael Mraka (44):
fixed ConfManager._zero_to_none: Method could be a function
disabled error ConfManager.get_config: Instance of 'list' has no 'split' member
fixed Line too long (146/120)
fixed TestObj1._private_function: Method could be a function TestObj1.public_function: Method could be a function TestObj2._private_function: Method could be a function TestObj2.public_function: Method could be a function
fixed UtilsTestCase.testAttrNotFunction: Module 'utils' has no 'attr_not_function' member
disabled warning UtilsTestCase.testMakeCommonAttrEqual: Access to a protected member _d of a client class
disabled warning ArchiveTest.testInstantiation: Method could be a function ArchiveTest.testFind: Method could be a function ArchiveTest.testFindPath: Method could be a function ArchiveTest.testRead: Method could be a function
disable warning Access to a protected member _read_conf ig_files of a client class Instance of 'rhnpushConfigParser' has no 'usage' member Instance of 'rhnpushConfigParser' has no 'usage' member RhnConfigTestCase: Too many public methods (22/20)
disabled warning class1: Too few public methods (0/1)
fixed PackageUpload.encode_values: Method could be a function
fixed Line too long (136/120)
reused checksum.getFileChecksum()
fixed Unused variable 'x' Unused variable 'pspe' Unused variable 'sect_dict'
fixed Operator not preceded by a space
fixed More than one statement on a single line
fixed _to_db_timestamp: Using possibly undefined loop variable 'i'
disabled warning Access to a protected member _archive_dir of a client class
disabled warning create_patch_mpm: Too many statements (54/50)
disabled warning _run: Catch "Exception"
disabled warning Line too long (123/120)
disabled error Instance of 'rhnpushConfigParser' has no 'usage' member Instance of 'rhnpushConfigParser' has no 'list' member Instance of 'UploadClass' has no 'die' member Instance of 'UploadClass' has no 'list' member Instance of 'rhnpushConfigParser' has no 'dir' member Instance of 'rhnpushConfigParser' has no 'stdin' member Instance of 'UploadClass' has no 'directory' member Instance of 'rhnpushConfigParser' has no 'stdin' member Instance of 'rhnpushConfigParser' has no 'dir' member Instance of 'UploadClass' has no 'readStdin' member Instance of 'rhnpushConfigParser' has no 'dir' member Instance of 'rhnpushConfigParser' has no 'stdin' member Instance of 'UploadClass' has no 'readStdin' member Instance of 'UploadClass' has no 'directory' member Instance of 'UploadClass' has no 'filter_excludes' member Instance of 'rhnpushConfigParser' has no 'newest' member Instance of 'UploadClass' has no 'die' member Instance of 'UploadClass' has no 'newest' member Instance of 'Uplo
adClass' has no 'newest' member Ins
fixed UploadClass.package: Invalid name "FileChecksumType" (should match [a-z_][a-zA-Z0-9_]{,30}$)
fixed Class has no __init__ method Attribute 'url_v2' defined outside __init__ Attribute 'ping_status' defined outside __init__
fixed Unused import getFileChecksum
fixed UploadClass.setCount: Attribute 'count' defined outside __init__ UploadClass.setServer: Attribute 'server' defined outside __init__ UploadClass.writeSession: Attribute 'session' defined outside __init__ UploadClass.setOrg: Attribute 'orgId' defined outside __init__
fixed Unused import struct, re
fixed UploadClass.packages: Unused variable 'a' UploadClass.packages: Unused variable 't' UploadClass.check_package_exists: Unused variable 'e'
disabled warning No exception type(s) specified
disabled false warnings UploadClass.packages: Attribute 'files' defined outside __init__ UploadClass.setChannels: Attribute 'channels' defined outside __init__ UploadClass.setForce: Attribute 'force' defined outside __init__ UploadClass.setURL: Attribute 'url' defined outside __init__ UploadClass.setOrg: Attribute 'orgId' defined outside __init__ UploadClass.setRelativeDir: Attribute 'relativeDir' defined outside __init__
fixed UploadClass.die: Method could be a function UploadClass._processFile: Method could be a function
fixed Unused variable 'pkg_channel' Unused variable 'e'
disabled warning UploadClass.readSession: Catch "Exception"
fixed UploadClass.setRelativeDir: Attribute 'relativeDir' defined outside __init__
disabled listMissingSourcePackagesBySession: Invalid name "listMissingSourcePackagesBySession" (should match [a-z_][a-zA-Z0-9_]{,30}$) getSourcePackageChecksumBySession: Invalid name "getSourcePackageChecksumBySession" (should match [a-z_][a-zA-Z0-9_]{,30}$) exists_getPackageChecksumBySession: Invalid name "exists_getPackageChecksumBySession" (should match [a-z_][a-zA-Z0-9_]{,30}$) ReportError: Invalid name "ReportError" (should match [a-z_][a-zA-Z0-9_]{,30}$)
fixed get_archive_parser: Invalid name "Class" (should match [a-z_][a-zA-Z0-9_]{,30}$)
fixed ZipParser: Method '_explode_cmd' is abstract in class 'ArchiveParser' but is not overridden TarParser: Method '_explode_cmd' is abstract in class 'ArchiveParser' but is not overridden
_my_popen() already raises exception if status != 0
fixed Unused variable 'dirs' Unused variable 'wr'
fixed ArchiveParser._explode: Unused argument 'archive'
disable warning ArchiveParser.direct_read: Catch "Exception"
disabled Unable to import 'cgiwrap'
turned on pylint checks
disabled warnings ConfManager.get_config: Attribute 'files' defined outside __init__
Automatic commit of package [rhnpush] release [5.5.52-1].
Tomas Lestach (1):
849101 - initialize proxyAccept if no http proxy information is in the up2date file
---
client/tools/rhnpush/archive.py | 44 +++++++++-------
client/tools/rhnpush/rhnpush.py | 50 ++++++++++++------
client/tools/rhnpush/rhnpush.spec | 17 ++++++
client/tools/rhnpush/rhnpush_config.py | 1
client/tools/rhnpush/rhnpush_confmanager.py | 16 +++---
client/tools/rhnpush/rhnpush_v2.py | 3 -
client/tools/rhnpush/solaris2mpm.py | 66 ++++++++-----------------
client/tools/rhnpush/test/testRhnpushConfig.py | 1
client/tools/rhnpush/test/testUtils.py | 23 +++++---
client/tools/rhnpush/test/test_archive.py | 12 +++-
client/tools/rhnpush/uploadLib.py | 20 +++++--
client/tools/rhnpush/utils.py | 1
rel-eng/packages/rhnpush | 2
satellite/install/install.pl | 2
14 files changed, 149 insertions(+), 109 deletions(-)
---