www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/server/source/linc linc.py


From: Pavel Kharitonov
Subject: www/server/source/linc linc.py
Date: Sat, 01 Nov 2014 07:54:02 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Pavel Kharitonov <ineiev>       14/11/01 07:54:02

Modified files:
        server/source/linc: linc.py 

Log message:
        Skip rsync links.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/source/linc/linc.py?cvsroot=www&r1=1.21&r2=1.22

Patches:
Index: linc.py
===================================================================
RCS file: /web/www/www/server/source/linc/linc.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- linc.py     22 Sep 2014 16:20:04 -0000      1.21
+++ linc.py     1 Nov 2014 07:54:01 -0000       1.22
@@ -18,7 +18,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-LINC_VERSION = 'LINC 0.17'
+LINC_VERSION = 'LINC 0.18'
 USAGE = \
 '''Usage: %prog [options] [BASE_DIRECTORY]
 Check links in HTML files from BASE_DIRECTORY.'''
@@ -275,7 +275,7 @@
        # from which it is linked rather than the actual location
        # of the file.
        dir_name = symlink if (symlink != None) else filename
-       if re.search('^(mailto:|irc://|https://)', link):
+       if re.search('^(mailto:|irc://|https://|rsync://)', link):
                link_type = 'unsupported'
        elif link.find('http://') == 0:
                link_type = 'http'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]