[cedar-backup-svn] SF.net SVN: cedar-backup: [892] cedar-backup2/trunk
Brought to you by:
pronovic
|
From: <pro...@us...> - 2008-03-20 18:19:00
|
Revision: 892
http://cedar-backup.svn.sourceforge.net/cedar-backup/?rev=892&view=rev
Author: pronovic
Date: 2008-03-20 11:18:58 -0700 (Thu, 20 Mar 2008)
Log Message:
-----------
Tweak diagnostics
Modified Paths:
--------------
cedar-backup2/trunk/CedarBackup2/util.py
cedar-backup2/trunk/test/utiltests.py
Modified: cedar-backup2/trunk/CedarBackup2/util.py
===================================================================
--- cedar-backup2/trunk/CedarBackup2/util.py 2008-03-20 17:16:46 UTC (rev 891)
+++ cedar-backup2/trunk/CedarBackup2/util.py 2008-03-20 18:18:58 UTC (rev 892)
@@ -1044,7 +1044,7 @@
"""
Property target to get the Cedar Backup version.
"""
- return "Cedar Backup v%s (%s)" % (VERSION, DATE)
+ return "Cedar Backup %s (%s)" % (VERSION, DATE)
def _getInterpreter(self):
"""
Modified: cedar-backup2/trunk/test/utiltests.py
===================================================================
--- cedar-backup2/trunk/test/utiltests.py 2008-03-20 17:16:46 UTC (rev 891)
+++ cedar-backup2/trunk/test/utiltests.py 2008-03-20 18:18:58 UTC (rev 892)
@@ -2056,8 +2056,7 @@
Test the locale attribute.
"""
diagnostics = Diagnostics()
- self.failIf(diagnostics.locale is None)
- self.failIfEqual("", diagnostics.locale)
+ diagnostics.locale # might not be set, so just make sure method doesn't fail
def testMethods_006(self):
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|