~ubuntu-branches/ubuntu/utopic/gozerbot/utopic

« back to all changes in this revision

Viewing changes to debian/gozerbot/usr/lib/python2.5/site-packages/gozerplugs/web/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Malcolm
  • Date: 2009-09-14 09:00:29 UTC
  • mfrom: (1.1.4 upstream) (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090914090029-uval0ekt72kmklxw
Tags: 0.9.1.3-3
Changed dependency on python-setuptools to python-pkg-resources
(Closes: #546435) 

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