fixed the indentation on 'default = None' in admin.py org.guifications.extras tip
authorGary Kramlich <grim@reaperworld.com>
Sat Nov 28 09:23:10 2009 -0600 (2009-11-28)
branchorg.guifications.extras
changeset 652bc8f2aedef7
parent 64 3812901cbc73
fixed the indentation on 'default = None' in admin.py
moved the vim mode lines to the end of the python files since vim didn't like them after the license header
trac/gtkdoc/setup.py
trac/gtkdoc/tracgtkdoc/admin.py
trac/gtkdoc/tracgtkdoc/api.py
trac/gtkdoc/tracgtkdoc/search.py
trac/gtkdoc/tracgtkdoc/web_ui.py
     1.1 --- a/trac/gtkdoc/setup.py	Sat Nov 28 09:04:33 2009 -0600
     1.2 +++ b/trac/gtkdoc/setup.py	Sat Nov 28 09:23:10 2009 -0600
     1.3 @@ -14,8 +14,6 @@
     1.4  # You should have received a copy of the GNU General Public License
     1.5  # along with tracgtkdoc.  If not, see <http://www.gnu.org/licenses/>.
     1.6  
     1.7 -# vi:et:ts=4 sw=4
     1.8 -
     1.9  from setuptools import setup, find_packages
    1.10  
    1.11  setup(
    1.12 @@ -45,3 +43,5 @@
    1.13      ]}
    1.14  )
    1.15  
    1.16 +# vi:et:ts=4 sw=4
    1.17 +
     2.1 --- a/trac/gtkdoc/tracgtkdoc/admin.py	Sat Nov 28 09:04:33 2009 -0600
     2.2 +++ b/trac/gtkdoc/tracgtkdoc/admin.py	Sat Nov 28 09:23:10 2009 -0600
     2.3 @@ -13,8 +13,6 @@
     2.4  #
     2.5  # You should have received a copy of the GNU General Public License
     2.6  # along with tracgtkdoc.  If not, see <http://www.gnu.org/licenses/>.
     2.7 -#
     2.8 -# vi:et:sw=4 ts=4
     2.9  
    2.10  from trac.core import *
    2.11  from trac.admin import IAdminPanelProvider
    2.12 @@ -45,7 +43,7 @@
    2.13                  self.config.set('gtkdoc', 'default', req.args.get('default'))
    2.14                  self.config.save()
    2.15  
    2.16 -		default = None
    2.17 +        default = None
    2.18          books = []
    2.19          if 'gtkdoc' in self.config:
    2.20              default = self.config.get('gtkdoc', 'default')
    2.21 @@ -72,3 +70,4 @@
    2.22          from pkg_resources import resource_filename
    2.23          return [resource_filename(__name__, 'templates')]
    2.24  
    2.25 +# vi:et:sw=4 ts=4
     3.1 --- a/trac/gtkdoc/tracgtkdoc/api.py	Sat Nov 28 09:04:33 2009 -0600
     3.2 +++ b/trac/gtkdoc/tracgtkdoc/api.py	Sat Nov 28 09:23:10 2009 -0600
     3.3 @@ -13,8 +13,6 @@
     3.4  #
     3.5  # You should have received a copy of the GNU General Public License
     3.6  # along with tracgtkdoc.  If not, see <http://www.gnu.org/licenses/>.
     3.7 -#
     3.8 -# vi:et:ts=4 sw=4
     3.9  
    3.10  def get_books(config):
    3.11      books = {}
    3.12 @@ -28,3 +26,5 @@
    3.13  
    3.14      return books
    3.15  
    3.16 +# vi:et:ts=4 sw=4
    3.17 +
     4.1 --- a/trac/gtkdoc/tracgtkdoc/search.py	Sat Nov 28 09:04:33 2009 -0600
     4.2 +++ b/trac/gtkdoc/tracgtkdoc/search.py	Sat Nov 28 09:23:10 2009 -0600
     4.3 @@ -13,8 +13,6 @@
     4.4  #
     4.5  # You should have received a copy of the GNU General Public License
     4.6  # along with tracgtkdoc.  If not, see <http://www.gnu.org/licenses/>.
     4.7 -#
     4.8 -# vi:et:ts=4 sw=4
     4.9  
    4.10  from trac.core import *
    4.11  from trac.search import ISearchSource
    4.12 @@ -80,3 +78,5 @@
    4.13          if False:
    4.14              yield None
    4.15  
    4.16 +# vi:et:ts=4 sw=4
    4.17 +
     5.1 --- a/trac/gtkdoc/tracgtkdoc/web_ui.py	Sat Nov 28 09:04:33 2009 -0600
     5.2 +++ b/trac/gtkdoc/tracgtkdoc/web_ui.py	Sat Nov 28 09:23:10 2009 -0600
     5.3 @@ -13,8 +13,6 @@
     5.4  #
     5.5  # You should have received a copy of the GNU General Public License
     5.6  # along with tracgtkdoc.  If not, see <http://www.gnu.org/licenses/>.
     5.7 -#
     5.8 -# vi:et:ts=4 sw=4
     5.9  
    5.10  from trac.core import *
    5.11  from trac.util.html import html
    5.12 @@ -113,3 +111,5 @@
    5.13      def get_permission_actions(self):
    5.14          return ['GTKDOC_VIEW', 'GTKDOC_ADMIN', ]
    5.15  
    5.16 +# vi:et:ts=4 sw=4
    5.17 +