~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/blueprints/mail/handler.py

  • Committer: Curtis Hovey
  • Date: 2011-08-12 14:27:33 UTC
  • mto: This revision was merged to the branch mainline in revision 13685.
  • Revision ID: curtis.hovey@canonical.com-20110812142733-aeykrv7829vkudrl
Hushed lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
 
28
28
def get_spec_url_from_moin_mail(moin_text):
29
 
     """Extract a specification URL from Moin change notification."""
30
 
     if not isinstance(moin_text, basestring):
31
 
         return None
32
 
     match = MOIN_URL_RE.search(moin_text)
33
 
     if match:
34
 
          return match.group(1)
35
 
     else:
36
 
          return None
 
29
    """Extract a specification URL from Moin change notification."""
 
30
    if not isinstance(moin_text, basestring):
 
31
        return None
 
32
    match = MOIN_URL_RE.search(moin_text)
 
33
    if match:
 
34
        return match.group(1)
 
35
    else:
 
36
        return None
37
37
 
38
38
 
39
39
class BlueprintHandler: