浏览代码

Fixed spacing.

Kenny Woodson 8 年之前
父节点
当前提交
44b5ab7372
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 3 3
      roles/lib_openshift/library/oc_clusterrole.py
  2. 3 3
      roles/lib_openshift/src/lib/rule.py

+ 3 - 3
roles/lib_openshift/library/oc_clusterrole.py

@@ -1473,9 +1473,9 @@ class Rule(object):
     def __eq__(self, other):
         '''return whether rules are equal'''
         return (self.attribute_restrictions == other.attribute_restrictions and
-               self.api_groups == other.api_groups and
-               self.resources == other.resources and
-               self.verbs == other.verbs)
+                self.api_groups == other.api_groups and
+                self.resources == other.resources and
+                self.verbs == other.verbs)
 
 
     @staticmethod

+ 3 - 3
roles/lib_openshift/src/lib/rule.py

@@ -125,9 +125,9 @@ class Rule(object):
     def __eq__(self, other):
         '''return whether rules are equal'''
         return (self.attribute_restrictions == other.attribute_restrictions and
-               self.api_groups == other.api_groups and
-               self.resources == other.resources and
-               self.verbs == other.verbs)
+                self.api_groups == other.api_groups and
+                self.resources == other.resources and
+                self.verbs == other.verbs)
 
 
     @staticmethod