[cedar-backup-svn] SF.net SVN: cedar-backup:[1080] cedar-backup2/trunk
Brought to you by:
pronovic
|
From: <pro...@us...> - 2014-10-07 18:20:28
|
Revision: 1080
http://sourceforge.net/p/cedar-backup/code/1080
Author: pronovic
Date: 2014-10-07 18:20:20 +0000 (Tue, 07 Oct 2014)
Log Message:
-----------
Fix or ignore pylint warnings
Modified Paths:
--------------
cedar-backup2/trunk/CedarBackup2/filesystem.py
cedar-backup2/trunk/CedarBackup2/xmlutil.py
cedar-backup2/trunk/doc/procedure.txt
cedar-backup2/trunk/pylint-code.rc
cedar-backup2/trunk/pylint-test.rc
cedar-backup2/trunk/testcase/amazons3tests.py
Modified: cedar-backup2/trunk/CedarBackup2/filesystem.py
===================================================================
--- cedar-backup2/trunk/CedarBackup2/filesystem.py 2014-10-03 19:22:50 UTC (rev 1079)
+++ cedar-backup2/trunk/CedarBackup2/filesystem.py 2014-10-07 18:20:20 UTC (rev 1080)
@@ -911,7 +911,7 @@
@return: ASCII-safe SHA digest for the file.
@raise OSError: If the file cannot be opened.
"""
- # pylint: disable=C0103
+ # pylint: disable=C0103,E1101
try:
import hashlib
s = hashlib.sha1()
Modified: cedar-backup2/trunk/CedarBackup2/xmlutil.py
===================================================================
--- cedar-backup2/trunk/CedarBackup2/xmlutil.py 2014-10-03 19:22:50 UTC (rev 1079)
+++ cedar-backup2/trunk/CedarBackup2/xmlutil.py 2014-10-07 18:20:20 UTC (rev 1080)
@@ -58,7 +58,7 @@
@author: Kenneth J. Pronovici <pro...@ie...>
"""
-# pylint: disable=C0111,C0103,W0511,W0104
+# pylint: disable=C0111,C0103,W0511,W0104,W0106
########################################################################
# Imported modules
Modified: cedar-backup2/trunk/doc/procedure.txt
===================================================================
--- cedar-backup2/trunk/doc/procedure.txt 2014-10-03 19:22:50 UTC (rev 1079)
+++ cedar-backup2/trunk/doc/procedure.txt 2014-10-07 18:20:20 UTC (rev 1080)
@@ -4,7 +4,7 @@
- Make final update to Changelog
- Update CedarBackup2/release.py
- Run unit tests one last time (make test)
-- Run pychecker tests one last time (make check)
+- Run pychecker tests one last time (make check or make allcheck)
- Build the source distributions (make distrib)
- Run the util/release script for the right version
Modified: cedar-backup2/trunk/pylint-code.rc
===================================================================
--- cedar-backup2/trunk/pylint-code.rc 2014-10-03 19:22:50 UTC (rev 1079)
+++ cedar-backup2/trunk/pylint-code.rc 2014-10-07 18:20:20 UTC (rev 1080)
@@ -70,7 +70,7 @@
#enable-msg=
# Disable the message(s) with the given id(s).
-disable=I0011,W0702,W0703,W0704,C0302,C0321,R0902,R0911,R0912,R0913,R0914,R0915
+disable=I0011,W0702,W0703,W0704,C0302,C0321,R0902,R0911,R0912,R0913,R0914,R0915,R0801
[REPORTS]
Modified: cedar-backup2/trunk/pylint-test.rc
===================================================================
--- cedar-backup2/trunk/pylint-test.rc 2014-10-03 19:22:50 UTC (rev 1079)
+++ cedar-backup2/trunk/pylint-test.rc 2014-10-07 18:20:20 UTC (rev 1080)
@@ -73,7 +73,7 @@
#enable-msg=
# Disable the message(s) with the given id(s).
-disable=I0011,W0212,W0702,W0703,W0704,C0302,C0301,C0321,C0111,R0201,R0902,R0904,R0911,R0912,R0913,R0914,R0915
+disable=I0011,W0212,W0702,W0703,W0704,C0302,C0301,C0321,C0111,R0201,R0902,R0904,R0911,R0912,R0913,R0914,R0915,R0801
[REPORTS]
Modified: cedar-backup2/trunk/testcase/amazons3tests.py
===================================================================
--- cedar-backup2/trunk/testcase/amazons3tests.py 2014-10-03 19:22:50 UTC (rev 1079)
+++ cedar-backup2/trunk/testcase/amazons3tests.py 2014-10-07 18:20:20 UTC (rev 1080)
@@ -86,12 +86,9 @@
# System modules
import unittest
-import os
-import tempfile
# Cedar Backup modules
-from CedarBackup2.filesystem import FilesystemList
-from CedarBackup2.testutil import findResources, buildPath, removedir, extractTar, failUnlessAssignRaises, platformSupportsLinks
+from CedarBackup2.testutil import findResources, failUnlessAssignRaises
from CedarBackup2.xmlutil import createOutputDom, serializeDom
from CedarBackup2.extend.amazons3 import LocalConfig, AmazonS3Config
@@ -230,7 +227,7 @@
amazons3.encryptCommand = "encrypt"
self.failUnlessEqual("encrypt", amazons3.encryptCommand)
- def testConstructor_008(self):
+ def testConstructor_009(self):
"""
Test assignment of encryptCommand attribute, invalid value (empty).
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|