← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~bryce/launchpad/bugtracker-components-comments into lp:launchpad

 

Bryce Harrington has proposed merging lp:~bryce/launchpad/bugtracker-components-comments into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~bryce/launchpad/bugtracker-components-comments/+merge/64276

A few minor documentation/comment corrections for bug tracker component code.
-- 
https://code.launchpad.net/~bryce/launchpad/bugtracker-components-comments/+merge/64276
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~bryce/launchpad/bugtracker-components-comments into lp:launchpad.
=== modified file 'lib/lp/bugs/browser/bugtracker.py'
--- lib/lp/bugs/browser/bugtracker.py	2011-06-03 05:47:32 +0000
+++ lib/lp/bugs/browser/bugtracker.py	2011-06-11 05:21:30 +0000
@@ -463,7 +463,7 @@
 class BugTrackerEditComponentView(LaunchpadEditFormView):
     """Provides editing form for setting source packages for components.
 
-    In this class we assume that bug tracker components are always
+    This class assumes that bug tracker components are always
     linked to source packages in the Ubuntu distribution.
     """
     schema = IBugTrackerComponent

=== modified file 'lib/lp/bugs/interfaces/bugtracker.py'
--- lib/lp/bugs/interfaces/bugtracker.py	2011-06-03 00:46:14 +0000
+++ lib/lp/bugs/interfaces/bugtracker.py	2011-06-11 05:21:30 +0000
@@ -312,7 +312,7 @@
         """Return the bug filing and search links for the tracker.
 
         :param remote_product: The name of the product on which the bug
-            is to be filed or search for.
+            is to be filed or searched for.
         :param summary: The string with which to pre-filly the summary
             field of the upstream bug tracker's search and bug filing forms.
         :param description: The string with which to pre-filly the description

=== modified file 'lib/lp/bugs/model/bugtracker.py'
--- lib/lp/bugs/model/bugtracker.py	2011-06-03 00:46:14 +0000
+++ lib/lp/bugs/model/bugtracker.py	2011-06-11 05:21:30 +0000
@@ -263,7 +263,7 @@
         return component
 
     def getComponent(self, component_name):
-        """Retrieves a component by the given name.
+        """Retrieves a component by the given name or id number.
 
         None is returned if there is no component by that name in the
         group.


Follow ups