[cedar-backup-svn] SF.net SVN: cedar-backup: [825] cedar-backup2/trunk
Brought to you by:
pronovic
|
From: <pro...@us...> - 2007-12-19 04:07:01
|
Revision: 825
http://cedar-backup.svn.sourceforge.net/cedar-backup/?rev=825&view=rev
Author: pronovic
Date: 2007-12-18 20:06:57 -0800 (Tue, 18 Dec 2007)
Log Message:
-----------
Fix pychecker warnings
Modified Paths:
--------------
cedar-backup2/trunk/CedarBackup2/cli.py
cedar-backup2/trunk/test/clitests.py
Modified: cedar-backup2/trunk/CedarBackup2/cli.py
===================================================================
--- cedar-backup2/trunk/CedarBackup2/cli.py 2007-12-19 04:05:16 UTC (rev 824)
+++ cedar-backup2/trunk/CedarBackup2/cli.py 2007-12-19 04:06:57 UTC (rev 825)
@@ -731,7 +731,6 @@
for peer in peers.remotePeers:
if peer.managed:
remoteUser = _ActionSet._getRemoteUser(options, peer)
- localUser = _ActionSet._getRemoteUser(options, peer)
rshCommand = _ActionSet._getRshCommand(options, peer)
cbackCommand = _ActionSet._getCbackCommand(options, peer)
managedActions = _ActionSet._getManagedActions(options, peer)
Modified: cedar-backup2/trunk/test/clitests.py
===================================================================
--- cedar-backup2/trunk/test/clitests.py 2007-12-19 04:05:16 UTC (rev 824)
+++ cedar-backup2/trunk/test/clitests.py 2007-12-19 04:06:57 UTC (rev 825)
@@ -8992,7 +8992,6 @@
extensions = ExtensionsConfig([ ExtendedAction("one", "os.path", "isdir", 50), ], None)
options = OptionsConfig()
options.managedActions = [ "collect", "purge", "one", ]
- peers = PeersConfig()
actionSet = _ActionSet(actions, extensions, options, None, True, True)
self.failUnless(len(actionSet.actionSet) == 1)
self.failUnlessEqual(50, actionSet.actionSet[0].index)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|