Author: justi9
Date: 2009-01-19 10:29:47 -0500 (Mon, 19 Jan 2009)
New Revision: 3049
Modified:
mgmt/trunk/cumin/python/cumin/page.py
Log:
Whitespace cleanup
Modified: mgmt/trunk/cumin/python/cumin/page.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/page.py 2009-01-19 14:57:17 UTC (rev 3048)
+++ mgmt/trunk/cumin/python/cumin/page.py 2009-01-19 15:29:47 UTC (rev 3049)
@@ -126,7 +126,7 @@
def show_system_tab(self, session):
self.__tabs.set_system_tab(session)
self.view.set_systems_mode(session)
-
+
def set_messaging_tab(self, session):
self.__tabs.set_messaging_tab(session)
self.view.set_messaging_mode(session)
@@ -136,7 +136,7 @@
def get_last_pool(self, session):
return self.sticky_pool.get(session)
-
+
class MainFrameTabs(LinkSet):
def __init__(self, app, name):
super(MainFrameTabs, self).__init__(app, name)
@@ -155,13 +155,13 @@
def set_grid_tab(self, session):
self.selection.set(session, "gtab")
-
+
def set_system_tab(self, session):
self.selection.set(session, "stab")
-
+
def set_messaging_tab(self, session):
self.selection.set(session, "mtab")
-
+
class Tab(Link):
def render_class(self, session):
return (self.parent.selection.get(session) == self.name) \
@@ -226,13 +226,13 @@
def set_messaging_mode(self, session):
self.set_selected_mode(session, self.messaging)
-
+
def set_grid_mode(self, session):
self.set_selected_mode(session, self.grid)
-
+
def set_systems_mode(self, session):
self.set_selected_mode(session, self.systems)
-
+
class HomeView(TabbedModeSet):
def __init__(self, app, name):
super(HomeView, self).__init__(app, name)
@@ -289,7 +289,7 @@
class MyGridJobs(JobTab):
def render_title(self, session):
return "Your Grid Jobs %s" %
fmt_count(self.get_item_count(session))
-
+
def render_sql_where(self, session, *args):
if hasattr(session, "user_session"):
user = session.user_session.subject.name
@@ -305,11 +305,11 @@
def get_visible_columns(self, session):
return self.get_request_visible_columns(session, ["custom_group",
"scheduler"])
-
+
def render_user(self, session, *args):
if hasattr(session, "user_session"):
return session.user_session.subject.name
-
+
class MessagingView(TabbedModeSet):
def __init__(self, app, name):
super(MessagingView, self).__init__(app, name)