[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-64-g52467de

Sandro Tosi morph at debian.org
Sat Mar 6 16:44:21 UTC 2010


The following commit has been merged in the master branch:
commit 03701f42f7a0a6eff8480f25b775f5fa08dc887b
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Mar 6 10:15:15 2010 +0100

    added docstring

diff --git a/reportbug/utils.py b/reportbug/utils.py
index 9d78826..2a22865 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -212,6 +212,7 @@ def find_rewritten(username):
                     return None
 
 def check_email_addr(addr):
+    """Simple check for email validity"""
     if '@' not in addr:
         return False
     if addr.count('@') != 1:

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list