diff rhodecode/lib/db_manage.py @ 1203:6832ef664673 beta

source code cleanup: remove trailing white space, normalize file endings
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Apr 2011 18:23:15 +0200
parents 9c45e11493fb
children a671db5bdd58
line wrap: on
line diff
--- a/rhodecode/lib/db_manage.py	Sun Apr 03 12:43:29 2011 +0200
+++ b/rhodecode/lib/db_manage.py	Sun Apr 03 18:23:15 2011 +0200
@@ -5,22 +5,22 @@
 
     Database creation, and setup module for RhodeCode. Used for creation
     of database as well as for migration operations
-    
+
     :created_on: Apr 10, 2010
     :author: marcink
-    :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>    
+    :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>
     :license: GPLv3, see COPYING for more details.
 """
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
 # as published by the Free Software Foundation; version 2
 # of the License or (at your opinion) any later version of the license.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
@@ -95,9 +95,9 @@
 
 
     def upgrade(self):
-        """Upgrades given database schema to given revision following 
+        """Upgrades given database schema to given revision following
         all needed steps, to perform the upgrade
-        
+
         """
 
         from rhodecode.lib.dbmigrate.migrate.versioning import api
@@ -134,7 +134,7 @@
         # UPGRADE STEPS
         #======================================================================
         class UpgradeSteps(object):
-            """Those steps follow schema versions so for example schema 
+            """Those steps follow schema versions so for example schema
             for example schema with seq 002 == step_2 and so on.
             """
 
@@ -261,7 +261,7 @@
     def create_ui_settings(self):
         """Creates ui settings, fills out hooks
         and disables dotencode
-        
+
         """
         #HOOKS
         hooks1_key = 'changegroup.update'
@@ -516,4 +516,3 @@
         except:
             self.sa.rollback()
             raise
-