~ubuntu-branches/ubuntu/precise/gozerbot/precise

« back to all changes in this revision

Viewing changes to build/lib/gozerplugs/web/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Malcolm
  • Date: 2008-06-02 19:26:39 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080602192639-3rn65nx4q1sgd6sy
Tags: 0.8.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# gozerbot package
2
 
#
3
 
#
4
 
 
5
 
""" register all .py files """
6
 
 
7
 
__copyright__ = 'this file is in the public domain'
8
 
 
9
 
import os
10
 
 
11
 
(f, tail) = os.path.split(__file__)
12
 
__all__ = []
13
 
 
14
 
for i in os.listdir(f):
15
 
    if i.endswith('.py'):
16
 
        __all__.append(i[:-3])
17
 
__all__.remove('__init__')
18
 
 
19
 
del f, tail