comparison mercurial/hgweb/common.py @ 8225:46293a0c7e9f

updated license to be explicit about GPL version 2
author Martin Geisler <mg@lazybytes.net>
date Sun, 26 Apr 2009 01:08:54 +0200
parents aa983c3d94a9
children 0289f384e1e5
comparison
equal deleted inserted replaced
8224:1075f5c1b3fa 8225:46293a0c7e9f
1 # hgweb/common.py - Utility functions needed by hgweb_mod and hgwebdir_mod 1 # hgweb/common.py - Utility functions needed by hgweb_mod and hgwebdir_mod
2 # 2 #
3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net> 3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> 4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
5 # 5 #
6 # This software may be used and distributed according to the terms 6 # This software may be used and distributed according to the terms of the
7 # of the GNU General Public License, incorporated herein by reference. 7 # GNU General Public License version 2, incorporated herein by reference.
8 8
9 import errno, mimetypes, os 9 import errno, mimetypes, os
10 10
11 HTTP_OK = 200 11 HTTP_OK = 200
12 HTTP_BAD_REQUEST = 400 12 HTTP_BAD_REQUEST = 400