comparison roundup/templates/__init__.py @ 213:d45384bc6420

Added the copyright/license notice to (nearly) all files... ...at request of Bizar Software.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 07 Aug 2001 00:15:51 +0000
parents da7b97149caa
children 18134bffab37
comparison
equal deleted inserted replaced
212:862dafca2a72 213:d45384bc6420
1 #
2 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
3 # This module is free software, and you may redistribute it and/or modify
4 # under the same terms as Python, so long as this copyright message and
5 # disclaimer are retained in their original form.
6 #
7 # IN NO EVENT SHALL THE BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
8 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
9 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
10 # POSSIBILITY OF SUCH DAMAGE.
11 #
12 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 #
18 # $Id: __init__.py,v 1.3 2001-08-07 00:15:51 richard Exp $
19
1 import os 20 import os
2 21
3 def listTemplates(): 22 def listTemplates():
4 t_dir = os.path.split(__file__)[0] 23 t_dir = os.path.split(__file__)[0]
5 l = [] 24 l = []
8 if entry == 'CVS': continue 27 if entry == 'CVS': continue
9 if os.path.isdir(os.path.join(t_dir, entry)): 28 if os.path.isdir(os.path.join(t_dir, entry)):
10 l.append(entry) 29 l.append(entry)
11 return l 30 return l
12 31
32 #
33 # $Log: not supported by cvs2svn $
34 #
35 #
36 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/