Fix lint issues with loginstack changes
authorRob Crittenden <rcritten@redhat.com>
Wed, 29 Apr 2015 18:13:25 +0000 (14:13 -0400)
committerRob Crittenden <rcritten@redhat.com>
Wed, 29 Apr 2015 18:27:30 +0000 (14:27 -0400)
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
ipsilon/admin/loginstack.py

index 1faa089..5fdda96 100644 (file)
@@ -33,15 +33,6 @@ class LoginStack(AdminPlugins):
         self.children.remove(self.__dict__[name])
         del self.__dict__[name]
 
-    def get_children_urls(self):
-        urls = dict()
-        for item in self.children:
-            name = getattr(item, 'name', None)
-            if name:
-                urls['%s_url' % name] = cherrypy.url('/%s/%s' % (self.mount,
-                                                                 name))
-        return urls
-
     def root_with_msg(self, message=None, message_type=None, changed=None):
         # Force the url to be that of the Login Stack
         kwargs = {'title': self.title,
@@ -51,6 +42,7 @@ class LoginStack(AdminPlugins):
                   'newurl': self.url,
                   'sections': list()}
         for child in self.children:
+            # pylint: disable=protected-access
             plugins = child._site[child.facility]
 
             if changed is None: