allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [2/2] git commit: [#2778] Minor cleanup
Date Wed, 20 Nov 2013 14:10:38 GMT
[#2778] Minor cleanup

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/1697ad1f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/1697ad1f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/1697ad1f

Branch: refs/heads/master
Commit: 1697ad1fadcc589ba06e9f86a4b82660e9c9bcfc
Parents: 1c781ca
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Wed Nov 20 14:09:43 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Nov 20 14:10:04 2013 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/tests/functional/test_root.py | 2 +-
 ForgeTracker/forgetracker/tracker_main.py               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/1697ad1f/ForgeTracker/forgetracker/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/functional/test_root.py b/ForgeTracker/forgetracker/tests/functional/test_root.py
index 42508d0..5a8fc15 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -158,7 +158,7 @@ class TestMilestones(TrackerTestController):
         assert '<option value="3.0">3.0</option>' in closed
         assert '<option value="4.0">4.0</option>' in closed
 
-    def test_dublicate_milestone(self):
+    def test_duplicate_milestone(self):
         self.new_ticket(summary='bar', _milestone='1.0', status='closed')
         d = {
             'field_name':'_milestone',

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/1697ad1f/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index 8c3ca51..71452f2 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -670,7 +670,7 @@ class RootController(BaseController, FeedController):
                     exists_milestones = [m.name for m in fld.milestones]
                     new['new_name'] = new['new_name'].replace("/", "-")
                     if (new['new_name'] in exists_milestones) and (new['new_name'] != new['old_name']):
-                        flash('The milestone "%s" exists' % new['new_name'], 'error')
+                        flash('The milestone "%s" already exists.' % new['new_name'], 'error')
                         redirect('milestones')
                     for m in fld.milestones:
                         if m.name == new['old_name']:


Mime
View raw message